Last active
August 2, 2016 13:22
-
-
Save typeon/3ff1c1ee1dfe79f605ad71b5f03f7fa1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/bin/bash | |
| # - fork한 original source를 my repository에 merge시켜서 최신버전을 유지시킨다. | |
| git remote add upstream ORIGINAL_REPOSITORY_URL | |
| git fetch upstream | |
| git checkout master | |
| # merge를 하던지. | |
| git merge upstream/master | |
| # rebase를 하던지. | |
| git rebase upstream/master | |
| git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment