Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Sync Fork On GitHub
# Sync fork with original repository
# Requires an "upstream" remote, pointing to original repo
# e.g. `git remote add upstream`
alias git-sync-fork="git fetch upstream; git checkout master; git merge upstream/master"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.