Created
February 22, 2017 19:50
-
-
Save Shengliang/0b1b7bfb392f04ed3ab6fc27702b18ba 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
git clone https://github.com/Shengliang/rails.git | |
cd rails | |
git remote -v | |
git remote add upstream https://github.com/rails/rails.git | |
git remote -v | |
git fetch upstream | |
export EDITOR=vim | |
git rebase -i upstream/master | |
git push origin master:master | |
git branch -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment