Skip to content

Instantly share code, notes, and snippets.

@jhorst11
Created March 4, 2019 03:52
Show Gist options
  • Save jhorst11/cf32be60cb5354ce12129310bb3e1af9 to your computer and use it in GitHub Desktop.
Save jhorst11/cf32be60cb5354ce12129310bb3e1af9 to your computer and use it in GitHub Desktop.
git aliases
alias gs='git status'
alias ga='git add --all'
alias gf='git fetch --all'
alias gsu='git submodule sync && git submodule update --init --recursive'
alias repos='cd ~/Source/Repos'
alias sln='start *.sln'
alias startssh='eval `ssh-agent -s` && ssh-add ~/.ssh/id_rsa'
alias rmlocals='git branch --merged master | grep -v "\* master" | xargs -n 1 git branch -d'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment