Skip to content

Instantly share code, notes, and snippets.

@bashbaugh
Last active January 26, 2019 18:45
Show Gist options
  • Select an option

  • Save bashbaugh/a329904295daff79f0ec87c260f8d064 to your computer and use it in GitHub Desktop.

Select an option

Save bashbaugh/a329904295daff79f0ec87c260f8d064 to your computer and use it in GitHub Desktop.
~/Documents/learning-git $ git merge b
Auto-merging a.txt
CONFLICT (content): Merge conflict in a.txt
Automatic merge failed; fix conflicts and then commit the result.
~/Documents/learning-git $ git diff a b
... <-- You can ignore the lines right here for now, these are the important lines:
-Adam <-- this tells us that Adam was removed in branch b
+Bob <-- and this tells us that Bob was added.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment