Skip to content

Instantly share code, notes, and snippets.

@carltondickson
Created December 7, 2015 09:41
Show Gist options
  • Save carltondickson/38f8e7d9fca8484d9c5e to your computer and use it in GitHub Desktop.
Save carltondickson/38f8e7d9fca8484d9c5e to your computer and use it in GitHub Desktop.
Git aliases for GIT bash on Windows
cd ~
touch ./.bash_profile
# Add the following content to ~/.bash_profile
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
# Add some aliases to ~/.bashrc, e.g.
alias gfgp='git fetch --all && git pull'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment