Skip to content

fprochazka/gitconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

My opinionated gitconfig

Resources

Stars

Watchers

Forks

Languages