summaryrefslogblamecommitdiff
path: root/gitconfig
blob: b299ccefb3a16a6f9b14f67748172552233e2a46 (plain) (tree)
1
2
3
4
5
6
7
8
9


                       
      
                                     


                          
       
             
      
                  
          
                  












                                                  
                                                                                       
       
                                                                         
# dotfiles -- gitconfig
# author: johannst

[user]
    email = johannes.stoelp@gmail.com
    name = Johannes Stoelp
[init]
    defaultBranch = main
[color]
    ui = true
[diff]
    tool = vimdiff
[difftool]
    prompt = false
[log]
    date = short
[blame]
    date = relative
    coloring = highlightRecent
[format]
    # %h     abbreviated commit hash
    # %ad    author date (respects date format)
    # %aN    author name
    # %d     ref names, like the --decorate option
    # %s     commit message subject
    # %>(N)  set width, padd space on the left
    # %<(N)  set width, padd space on the right
    pretty = format:%C(auto)%h %C(cyan)%>(10)%ad %C(green)%>(8)%aN %C(auto)%d %Creset%s
[alias]
    graph = log --graph --decorate --pretty=oneline --abbrev-commit --all