Skip to content

Instantly share code, notes, and snippets.

@kwechsler
Created July 2, 2012 14:09
Show Gist options
  • Save kwechsler/3033421 to your computer and use it in GitHub Desktop.
Save kwechsler/3033421 to your computer and use it in GitHub Desktop.
.profile github shortcuts
#
# 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