Are you tired with typing the same long git commands? Here you are the solution. GIT ALIASES!!
Here you have a bundle of most useful:
git config --global alias.hist "log --pretty=format:'%h %s%d [%an]' --graph --date=short"
git config --global alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit --all"
git config --global alias.sts status
git config --global alias.co checkout
git config --global alias.newbranch 'checkout -b'
git config --global alias.last 'log -1 HEAD'
git config --global alias.unstage 'reset HEAD --'
Brak komentarzy:
Prześlij komentarz