about summary refs log tree commit diff stats
path: root/dev
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2019-03-13 01:54:02 +0000
committerSilvino Silva <silvino@bk.ru>2019-03-13 01:54:02 +0000
commit5b0c7a21c26f5ec3fcc227fda2b35cccaba93daa (patch)
treef593cdc7fc50e50e2d2ea5fc976ffb404168c12f /dev
parentbc963c50f553bd25bd2fd17f10d2cf7ac5beecd5 (diff)
downloaddoc-5b0c7a21c26f5ec3fcc227fda2b35cccaba93daa.tar.gz
dev git fix diff added conflictstyle
Diffstat (limited to 'dev')
-rw-r--r--dev/git/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/git/index.html b/dev/git/index.html
index ed64efa..b2feb83 100644
--- a/dev/git/index.html
+++ b/dev/git/index.html
@@ -35,6 +35,7 @@
     $ git config --global diff.tool vimdiff
     $ git config --global merge.tool vimdiff
     $ git config --global difftool.prompt false
+    $ git config --global merge.conflictstyle diff3
     </pre>
 
     <h2 id="teamwork">1. Team WorkFlow</h2>
@@ -329,7 +330,7 @@
     <p>Same using diff command;</p>
 
     <pre>
-    $ diff orig file > file.patch
+    $ diff -u orig file > file.patch
     </pre>
 
     <h3 id="remote">2.3. Working with remotes</h3>