Created
May 13, 2021 10:55
-
-
Save nlarzon/af9dc24c78c36e69df4bf9c555f1c783 to your computer and use it in GitHub Desktop.
This file contains 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 characters
#Normal | |
abbr -a l "ll" | |
abbr -a dl "cd ~/Downloads" | |
#Git abbrevations | |
abbr -a g "git" | |
abbr -a gup "git pull --rebase" | |
abbr -a gd "git diff -M" | |
abbr -a ga "git add" | |
abbr -a gaa "git add --all ." | |
abbr -a gbd "git branch -D" | |
abbr -a gst "git status" | |
abbr -a gca "git commit -a -m" | |
abbr -a gm "git merge --no-ff" | |
abbr -a gpt "git push --tags" | |
abbr -a gp "git push" | |
abbr -a grh "git reset --hard" | |
abbr -a gb "git branch" | |
abbr -a gcob "git checkout -b" | |
abbr -a gco "git checkout" | |
abbr -a gba "git branch -a" | |
abbr -a gcp "git cherry-pick" | |
abbr -a gl "git log --pretty=format:\"%Cgreen%h%Creset - %Cblue%an%Creset @ %ar : %s\"" | |
abbr -a gl2 "git log --pretty='format:%Cgreen%h%Creset %an - %s' --graph" | |
abbr -a glv "git log --stat" | |
abbr -a gpom "git pull origin master" | |
abbr -a gcd='cd "git rev-parse --show-toplevel"' | |
abbr -a gtl "git tag --list" | |
aabr -a ggsup "git branch --set-upstream-to=origin/'(git_current_branch)'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment