Skip to content

Instantly share code, notes, and snippets.

@ayan4m1
Created September 3, 2019 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayan4m1/206c677b1be0f3ff96f13d79a4423417 to your computer and use it in GitHub Desktop.
Save ayan4m1/206c677b1be0f3ff96f13d79a4423417 to your computer and use it in GitHub Desktop.
bash aliases
alias git-recent-branches="git for-each-ref --sort=committerdate refs/heads/"
alias git-update-master="git fetch --all && git checkout master && git rebase upstream/master && git push origin master"
alias gfa="git fetch --all"
alias gco="git checkout"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment