Add new data
This commit is contained in:
26
docs/progs/git.md
Normal file
26
docs/progs/git.md
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
# GIT
|
||||
|
||||
## Remote control
|
||||
```bash
|
||||
git remote -v
|
||||
git remote add origin https://site/repo.git
|
||||
git remote set-url origin https://site/repo.git
|
||||
```
|
||||
|
||||
## Config ~/.gitconfig
|
||||
```ini
|
||||
[user]
|
||||
email = user@gmail.com
|
||||
|
||||
[alias]
|
||||
aa = !git add -A && git status -v
|
||||
up = push
|
||||
st = status -v
|
||||
sta = status -v
|
||||
cam = commit -am
|
||||
last = log -1 HEAD
|
||||
|
||||
[safe]
|
||||
directory = /mnt/data/src
|
||||
```
|
Reference in New Issue
Block a user