Last active
May 3, 2019 08:09
-
-
Save sebw/86028ebe5c07878a003450943b0ea965 to your computer and use it in GitHub Desktop.
merge upstream/develop into own fork
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function git-sync-fork() | |
{ | |
cd /srv/repo | |
git remote add upstream git@git.example.org:upstream/repo.git | |
git fetch upstream | |
git checkout develop | |
git merge upstream/develop | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment