Skip to content

Instantly share code, notes, and snippets.

@aghaynes
Created December 7, 2018 10:00
Show Gist options
  • Save aghaynes/bfc0852abace961c6ae9b395c3d61e40 to your computer and use it in GitHub Desktop.
Save aghaynes/bfc0852abace961c6ae9b395c3d61e40 to your computer and use it in GitHub Desktop.
use git remotes (e.g. to sync a fork back to it's original repo)
# add remote
git remote add <name> <url>
# fetch and merge
git fetch <name>
git merge <name>
# see also: https://help.github.com/articles/syncing-a-fork/
# didn't work for me
# really good git tutorials
# https://www.atlassian.com/git/tutorials
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment