From 25dc2312b8a023b49f0d085181c71ff2a8a4e692 Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Mon, 18 Mar 2019 21:44:34 +0000 Subject: git documentation revision fix core conf ports --- dev/git/install.html | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 dev/git/install.html (limited to 'dev/git/install.html') diff --git a/dev/git/install.html b/dev/git/install.html new file mode 100644 index 0000000..6a42abd --- /dev/null +++ b/dev/git/install.html @@ -0,0 +1,54 @@ + + + + + 1. Install git + + + + Git Index + +

1. Install Git

+ +

Install git;

+ +
+    $ sudo prt-get depinst git
+    
+ +

First configure your global identity, configuration + file resides on ~/.gitconfig ;

+ +
+    $ git config --global user.name "User Name"
+    $ git config --global user.email user@devbox
+    
+ +

If you want to disable pager / paging you can set globally;

+ +
+    $ git config --global core.pager cat
+    
+ +

Paging based on output size with less;

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

Use vimdiff as diff and merge tool;

+ +
+    $ git config --global diff.tool vimdiff
+    $ git config --global merge.tool vimdiff
+    $ git config --global difftool.prompt false
+    
+ + Git Index +

This is part of the Hive System Documentation. + Copyright (C) 2019 + Hive Team. + See the file Gnu Free Documentation License + for copying conditions.

+ + -- cgit