Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 684 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 684 Bytes

My opinionated gitconfig

Installation

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

Installation of diff-highlight

  1. git clone [email protected]:git/git.git
  2. cd git/contrib/diff-highlight
  3. make
  4. sudo mv diff-highlight /usr/local/bin/diff-highlight