Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
git up при надобности ныкает все ещё незакоммиченные изменения в stash«Спасибо, всё очень понятно.»

#### file ~/.profile
alias gpull="git pull origin" # usage: gpull master
alias gpush="git push origin" # usage: gpush master
function gitcb() # getting git current branch
{
git status 2>/dev/null | head -1 | cut -d ' ' -f 4
}
alias gpullcb="gpull $(gitcb)"
alias gpushcb="gpush $(gitcb)"
git branch -u origin/foo foo
git branch -u origin/bar bar
gr = "log --all --graph --pretty=format:'%Cred%h%Creset%x09%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"Алиас легко добавить на любом сервере
[alias]
co = checkout
ci = commit
st = status
br = branch
di = diff --color
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
llog = log --all --graph --decorate=full --date-order --color
fix = "!am() { curl -s http://whatthecommit.com/ | grep '<p>' | cut -c4-; }; git commit -em \"# $(am)\" \"$@\""
Git up и все все все