From 44f1fee156ef879102bcbb185ec37af67ee3b4ff Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Sat, 16 Feb 2019 20:21:29 +0000 Subject: dev git configure vimdiff --- dev/git/index.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'dev/git') diff --git a/dev/git/index.html b/dev/git/index.html index e23e2a0..2731283 100644 --- a/dev/git/index.html +++ b/dev/git/index.html @@ -26,15 +26,19 @@

Paging based on output size with less;

-    git config --global --replace-all core.pager "less -F -X"
+    $ git config --global core.pager "less -F -X"
     
-

Example to disable for just one subcommand and local repository;

+

Use vimdiff as diff and merge tool;

-    $ git config pager.diff cat
+    $ git config --global diff.tool vimdiff
+    $ git config --global merge.tool vimdiff
+    $ git config --global difftool.prompt false
     
+

1. Team WorkFlow

+

Assumptions of this document;