Skip to content

Instantly share code, notes, and snippets.

@rc1
Created March 3, 2011 18:39
Show Gist options
  • Save rc1/853247 to your computer and use it in GitHub Desktop.
Save rc1/853247 to your computer and use it in GitHub Desktop.
Bash! Aliases for Git, Tar, ...
# Aliases
# tar
alias targz="tar -cvzf"
# git
alias gc="git commit -m"
alias gca="git commit -am"
alias gs="git status"
alias ga="git add"
alias gad="git add -u"
alias gt="git tag"
alias gp="git push"
alias gpt="git push --tags"
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment