Files
cmp-docs/docs/progs/git.md
2024-04-18 02:18:40 +03:00

27 lines
371 B
Markdown

# 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 = *
```