Skip to content

Instantly share code, notes, and snippets.

@TonyWael
Last active December 24, 2015 21:29
Show Gist options
  • Save TonyWael/6865942 to your computer and use it in GitHub Desktop.
Save TonyWael/6865942 to your computer and use it in GitHub Desktop.
Git ubuntu cheatsheat
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