Last active
December 24, 2015 21:29
-
-
Save TonyWael/6865942 to your computer and use it in GitHub Desktop.
Git ubuntu cheatsheat
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
git | |
(on branch development)$ git merge master | |
(resolve any merge conflicts if there are any) | |
git checkout master | |
git merge develop (there won't be any conflicts now) | |
or | |
git branch develop | |
git add * | |
git commit -m “" | |
git push -u origin develop | |
git checkout master | |
git merge develop | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment