Created
September 3, 2018 07:50
-
-
Save MrMovl/b8d3f390e3c43e911bff19f45b11e32c to your computer and use it in GitHub Desktop.
Revisions
-
MrMovl created this gist
Sep 3, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ alias gdno="git diff --name-only" alias gd="git diff" alias gcm="git commit -m" alias gaa="git add -A" alias gca="git commit --amend --no-edit" alias gcaa="git add --all && git commit --amend --no-edit" alias gnope="git checkout ." alias gwait="git reset HEAD" alias gundo="git reset --soft HEAD^" alias gl="git log --graph --pretty='\''%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\'' --abbrev-commit" alias gco="git checkout" alias gps="git push" alias gpsf="git push --force-with-lease" alias gpl="git pull --rebase" alias grb="git rebase" grn() { git rebase -i HEAD~"$1"; } grbic() { git rebase -i "$1" ; } alias grba="git rebase --abort" alias grbc="git rebase --continue"