Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (5 sloc) 226 Bytes
#!/bin/sh
# Syncs a forked repository with its upstream.
git fetch upstream
git checkout master
git rebase upstream/master # it is important to rebase (nstead of merging) at this point, in order to avoid any merge conflicts