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
    $ git config --global core.editor "vim"
    

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 LeetIO System Documentation. Copyright (C) 2021 LeetIO Team. See the file Gnu Free Documentation License for copying conditions.