diff options
author | http://joey.kitenet.net/ <joey@web> | 2011-12-20 23:07:25 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2011-12-20 23:07:25 +0000 |
commit | a2e482b59037e783729cf0d96a4d58553db0dfb4 (patch) | |
tree | 2bdf8416e23d1eaeacc2a78c26e75489d689f371 /doc | |
parent | 58a89c243cd7beeaff8fb8b45bf20d934d6882ed (diff) |
Added a comment: Good question!
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/A_really_stupid_question/comment_1_40e02556de0b00b94f245a0196b5a89f._comment | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/forum/A_really_stupid_question/comment_1_40e02556de0b00b94f245a0196b5a89f._comment b/doc/forum/A_really_stupid_question/comment_1_40e02556de0b00b94f245a0196b5a89f._comment new file mode 100644 index 000000000..2a400db3b --- /dev/null +++ b/doc/forum/A_really_stupid_question/comment_1_40e02556de0b00b94f245a0196b5a89f._comment @@ -0,0 +1,31 @@ +[[!comment format=mdwn + username="http://joey.kitenet.net/" + nickname="joey" + subject="Good question!" + date="2011-12-20T23:07:25Z" + content=""" +You get a regular git merge conflict, which can be resolved in any of the regular ways, except that conflicting files are just symlinks. + +Example: + +<pre> +$ git pull +... +Auto-merging myfile +CONFLICT (add/add): Merge conflict in myfile +Automatic merge failed; fix conflicts and then commit the result. +$ git status +# On branch master +# Your branch and 'origin/master' have diverged, +# and have 1 and 1 different commit(s) each, respectively. +# +# Unmerged paths: +# (use \"git add/rm <file>...\" as appropriate to mark resolution) +# +# both added: myfile +# +no changes added to commit (use \"git add\" and/or \"git commit -a\") +$ git add myfile +$ git commit -m \"took local version of the conflicting file\" +</pre> +"""]] |