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

371 B

GIT

Remote control

git remote -v
git remote add     origin https://site/repo.git
git remote set-url origin https://site/repo.git

Config ~/.gitconfig

[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 = *