spacepaste

  1.  
  2. $ ./test.sh
  3. init git repo
  4. Initialized empty Git repository in /tmp/tmp_repo/.git/
  5. add commit to original repo
  6. [master (root-commit) 4eff82a] add_foo_file
  7. 0 files changed
  8. create mode 100644 foo
  9. clone repo
  10. Cloning into 'tmp_repo_clone'...
  11. done.
  12. checkout and make left branch
  13. Branch left set up to track remote branch master from origin.
  14. Switched to a new branch 'left'
  15. [left 9065254] conflict_left
  16. 2 files changed, 2 insertions(+)
  17. create mode 100644 conflict_file
  18. create mode 100644 left_only_file
  19. checkout and make right branch
  20. Branch right set up to track remote branch master from origin.
  21. Switched to a new branch 'right'
  22. [right 6834ae6] conflict_right
  23. 2 files changed, 2 insertions(+)
  24. create mode 100644 conflict_file
  25. create mode 100644 right_only_file
  26. merge left
  27. Auto-merging conflict_file
  28. CONFLICT (add/add): Merge conflict in conflict_file
  29. Automatic merge failed; fix conflicts and then commit the result.
  30. try and make diff
  31. done
  32.