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