about summary refs log tree commit diff stats
path: root/dev/git/install.html
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2019-03-18 21:44:34 +0000
committerSilvino Silva <silvino@bk.ru>2019-03-19 02:30:35 +0000
commit25dc2312b8a023b49f0d085181c71ff2a8a4e692 (patch)
treebbec549f9d0f62a25e00dcd807f7d18529f4b922 /dev/git/install.html
parente67aefadd153bf622f56442c4e79df4704723616 (diff)
downloaddoc-25dc2312b8a023b49f0d085181c71ff2a8a4e692.tar.gz
git documentation revision
fix core conf ports
Diffstat (limited to 'dev/git/install.html')
-rw-r--r--dev/git/install.html54
1 files changed, 54 insertions, 0 deletions
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 @@
+<!DOCTYPE html>
+<html dir="ltr" lang="en">
+    <head>
+    <meta charset='utf-8'>
+    <title>1. Install git</title>
+</head>
+<body>
+
+    <a href="index.html">Git Index</a>
+
+    <h1>1. Install Git</h1>
+
+    <p>Install git;</p>
+
+    <pre>
+    $ sudo prt-get depinst git
+    </pre>
+
+    <p>First configure your global identity, configuration
+    file resides on ~/.gitconfig ;</p>
+
+    <pre>
+    $ git config --global user.name "User Name"
+    $ git config --global user.email user@devbox
+    </pre>
+
+    <p>If you want to disable pager / paging you can set globally;</p>
+
+    <pre>
+    $ git config --global core.pager cat
+    </pre>
+
+    <p>Paging based on output size with less;</p>
+
+    <pre>
+    $ git config --global core.pager "less -F -X"
+    </pre>
+
+    <p>Use <a href="../../tools/vim.html#vimdiff">vimdiff</a> as diff and merge tool;</p>
+
+    <pre>
+    $ git config --global diff.tool vimdiff
+    $ git config --global merge.tool vimdiff
+    $ git config --global difftool.prompt false
+    </pre>
+
+    <a href="index.html">Git Index</a>
+    <p>This is part of the Hive System Documentation.
+    Copyright (C) 2019
+    Hive Team.
+    See the file <a href="../../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
+    for copying conditions.</p>
+</body>
+</html>