Skip to content

Instantly share code, notes, and snippets.

@hugodias
Created July 24, 2012 14:46
Show Gist options
  • Save hugodias/3170376 to your computer and use it in GitHub Desktop.
Save hugodias/3170376 to your computer and use it in GitHub Desktop.
Basic Git Merge
git init
git add .
git commit -m 'Primeiro commit'
git checkout -b issue1
# Modify files
git add .
git commit -m 'Fixed issue1'
git checkout master
git add .
git commit -m 'Merging'
git merge issue1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment