Skip to content

Instantly share code, notes, and snippets.

@shreyansp
Created July 15, 2021 11:25

Revisions

  1. shreyansp created this gist Jul 15, 2021.
    30 changes: 30 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,30 @@
    [merge]
    tool = kdiff3
    [diff]
    guitool = kdiff3
    [core]
    editor = notepad
    autocrlf = true
    [user]
    name = username
    email = user@domain.com
    [alias]
    co = checkout
    cp = cherry-pick
    ci = commit
    st = status
    br = branch
    df = diff
    dfw = diff -w --ignore-blank-lines
    dfc = diff --cached
    hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
    type = cat-file -t
    dump = cat-file -p
    [mergetool "kdiff3"]
    path = C:/Program Files (x86)/KDiff3/kdiff3.exe
    [difftool "kdiff3"]
    path = C:/Program Files (x86)/KDiff3/kdiff3.exe
    [http]
    sslverify = false
    [pull]
    rebase = true