Skip to content

Instantly share code, notes, and snippets.

@diegovarussa
Last active July 18, 2018 04:48
Show Gist options
  • Save diegovarussa/93a0fa694defae52e764c97989e33657 to your computer and use it in GitHub Desktop.
Save diegovarussa/93a0fa694defae52e764c97989e33657 to your computer and use it in GitHub Desktop.
Git commands

Merge Branches

git checkout development
git pull 
git checkout master
git pull
git merge --no-ff --no-commit development

If conflict is encountered, we can run git status to check details about the conflicts and try to solve

git status

Once we solve the conflicts, or if there is no conflict, we commit and push them

git commit -m 'merge development branch'
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment