cd ~/.config
git clone [email protected]:fprochazka/gitconfig.git
Include configs using a ~/.gitconfig
[include]
path = /home/fprochazka/.config/gitconfig/config/main.gitconfig
[user]
name = your-name
email = your-email
signingkey = 123456789123456798123456789
[init]
defaultBranch = main
[includeIf "gitdir:/home/fprochazka/devel/my-company/"]
path = /home/fprochazka/devel/my-company/.gitconfig
git clone [email protected]:git/git.git
cd git/contrib/diff-highlight
make
sudo mv diff-highlight /usr/local/bin/diff-highlight