Created
July 2, 2012 14:09
-
-
Save kwechsler/3033421 to your computer and use it in GitHub Desktop.
.profile github shortcuts
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
# | |
# GIT | |
# | |
alias gc="git commit -m $1" | |
alias gca="git add -A; git commit -m $1" | |
alias gcap=git_add_all_commit_and_push | |
alias gs='git status' | |
alias gf='git fetch' | |
alias gm='git merge origin' | |
alias gp='git push' | |
alias gpl='git pull' | |
alias gpom="git pull origin master" | |
function git_add_all_commit_and_push () { | |
git add -A; | |
git commit -m "$1"; | |
git push; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment