Last active
January 4, 2016 18:39
-
-
Save baijian/8662288 to your computer and use it in GitHub Desktop.
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
rebase基本用法: | |
http://git-scm.com/book/en/Git-Branching-Rebasing | |
git co xxx | |
git rebase master : patch modification of xxx on base of master branch | |
rebase远程分支: | |
http://stackoverflow.com/questions/7929369/how-to-rebase-local-branch-with-remote-master | |
1. | |
>git fetch origin | |
>git rebase origin/master | |
2. | |
>git pull --rebase origin/master | |
### ignore | |
Fortunately GIT has a very easy solution for this, just run the following command on the file or path you want to ignore the changes of: | |
git update-index --assume-unchanged <file> | |
If you wanna start tracking changes again run the following command: | |
git update-index --no-assume-unchanged <file> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment