new trick
parent
411e3a28ba
commit
2c2540286d
7
GIT.md
7
GIT.md
|
@ -15,3 +15,10 @@ modified: '2021-12-14T21:13:05.655Z'
|
||||||
`git checkout HEAD -- TIS/tis.tex`
|
`git checkout HEAD -- TIS/tis.tex`
|
||||||
- Add all files in the repo
|
- Add all files in the repo
|
||||||
`git add -A`
|
`git add -A`
|
||||||
|
|
||||||
|
### Accidentaly deleted a folder in a git repo?
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git reset -- path/to/folder
|
||||||
|
git checkout -- path/to/folder
|
||||||
|
```
|
||||||
|
|
|
@ -24,7 +24,7 @@ then issue this command: `ln -s /usr/bin/python3 /usr/bin/python`.
|
||||||
|
|
||||||
`ansible-galaxy collection install azure.azcollection`
|
`ansible-galaxy collection install azure.azcollection`
|
||||||
|
|
||||||
`pip3 install "ansible[azure]"` (in venv preferably)
|
`pip3 install "ansible[azure]"` (in venv preferably) // don't do that, rather that (`https://github.com/ansible/ansible/blob/stable-2.8/packaging/requirements/requirements-azure.txt`)
|
||||||
|
|
||||||
Then go to Azure website and generate a new resource group.
|
Then go to Azure website and generate a new resource group.
|
||||||
Try to generate az command for that
|
Try to generate az command for that
|
||||||
|
|
Loading…
Reference in New Issue