Skip to content

Instantly share code, notes, and snippets.

@SpEcHiDe
Last active July 25, 2021 04:18
Show Gist options
  • Save SpEcHiDe/d807970c96596843262d7412c67c559d to your computer and use it in GitHub Desktop.
Save SpEcHiDe/d807970c96596843262d7412c67c559d to your computer and use it in GitHub Desktop.
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[user]
email = SpEcHiDe@users.noreply.github.com
name = Shrimadhav U K
signingkey = 599767107164B031
[credential]
helper = cache --timeout=7200
[color]
# Use colors in Git commands that are capable of colored output when outputting to the terminal
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
lg = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
wdiff = diff --word-diff=color
s = status --short --branch
a = add --all
c = commit
g = grep --break --heading --line-number
co = checkout
m = merge
b = branch
prune-branches = "!git branch --merged | grep -Ev '^\\*| master$' | xargs git branch --delete"
wup = log -p origin..@{0}
# Show verbose output about tags, branches or remotes
tags = tag -l
branches = branch -a
remotes = remote -v
# Pretty log output
hist = log --graph --pretty=format:'%Cred%h%Creset %s%C(yellow)%d%Creset %Cgreen(%cr)%Creset [%an]' --abbrev-commit --date=relative
[push]
default = simple
[branch]
autosetuprebase = always
[rebase]
stat = true
[help]
autocorrect = 5
[grep]
lineNumber = true
[core]
autocrlf = input
[gitreview]
remote = origin
[commit]
gpgsign = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment