Last active
August 29, 2015 14:06
-
-
Save yuchan/1c7aa5512923f8ce3723 to your computer and use it in GitHub Desktop.
Sync master from forked repository.
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 | |
# http://stackoverflow.com/questions/7244321/how-to-update-github-forked-repository | |
git fetch upstream | |
git checkout master | |
git rebase upstream/master | |
git push -f origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
事前に
をやっておく必要があります。