Created
October 30, 2010 02:27
-
-
Save shyamkkhadka/654825 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
== Assume you are working on branch called "mytestbranch" and now you want to commit | |
$ git add . | |
$ git commit -m "My commit message" | |
$ git checkout master | |
$ git merge mytestbranch | |
$ git pull --rebase | |
== if conflict, | |
== resolve conflict: | |
$ git add . | |
$ git rebase --continue | |
== end conflict resolve | |
$ git push | |
$ git checkout "mynewbranch" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment