Skip to content

Instantly share code, notes, and snippets.

@jparmstrong
Created September 15, 2016 01:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jparmstrong/07cab1a566c5c1495d7c8e075dd65962 to your computer and use it in GitHub Desktop.
Save jparmstrong/07cab1a566c5c1495d7c8e075dd65962 to your computer and use it in GitHub Desktop.
$ git status
On branch branch2
Your branch is up-to-date with 'origin/branch2'.
nothing to commit, working directory clean
$ git merge master
Auto-merging readme.md
CONFLICT (content): Merge conflict in readme.md
Automatic merge failed; fix conflicts and then commit the result.
$ git diff
diff --cc readme.md
index b251ace,fe268df..0000000
--- a/readme.md
+++ b/readme.md
@@@ -1,3 -1,3 +1,7 @@@
# gittest
++<<<<<<< HEAD
+- adding something on **branch2**, would branch1 pull request pick it up? lets see...
++=======
+ - this change was made with **branch1**
++>>>>>>> master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment