Skip to content

Instantly share code, notes, and snippets.

@jfuerth
Created April 21, 2015 13:57
Show Gist options
  • Select an option

  • Save jfuerth/5f14c33e7555e0af3ca3 to your computer and use it in GitHub Desktop.

Select an option

Save jfuerth/5f14c33e7555e0af3ca3 to your computer and use it in GitHub Desktop.
Handy Shell Aliases
alias gf='git fetch --all'
alias gpo='git push origin'
alias gpu='git push upstream'
alias gt='git log --oneline --decorate --all --graph'
alias gd='git diff'
alias gs='git status'
@jfuerth
Copy link
Copy Markdown
Author

jfuerth commented Jan 17, 2017

In case it needs to be in multilple shells, paste into ~/.aliases and include this in the shell startup file(s) of choice:

if [ -f $HOME/.aliases ]; then
	source $HOME/.aliases
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment