Skip to content

Instantly share code, notes, and snippets.

@Khalian
Last active October 4, 2019 02:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Khalian/d2852e9fee3de4cc32849d450afbf6bf to your computer and use it in GitHub Desktop.
Save Khalian/d2852e9fee3de4cc32849d450afbf6bf to your computer and use it in GitHub Desktop.
[user]
email = arunav.sanyal91@gmail.com
name = Arunav Sanyal
signingkey = 352742D0A2C6851A
[color]
ui = true
[core]
pager = diff-so-fancy | less --tabs=4 -RFX
editor = nvr --remote-wait-silent
[push]
default = simple
[alias]
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)%cr%C(reset)%C(auto)%d%C(reset)%n%s' --date-order
[amazon]
append-cr-url = true
pull-request-by-default = true
[commit]
template = /Users/arunavs/.gitmessage
[merge]
tool = nvr
[web]
browser = open
[alias]
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)%cr%C(reset)%C(auto)%d%C(reset)%n%s' --date-order
ls = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
chp = cherry-pick
rhh1 = reset HEAD~1 --hard
bd = branch -D
reb = rebase -i HEAD~10
ds = diff --staged
co = checkout
aa = add .
con = checkout -b
ca = commit --amend
st = status
rh = reset HEAD
rhh = reset HEAD --hard
f = fetch
edit = "!nvim `git ls-files -m` -p"
ctemp = "commit -m "Temp""
fo = fetch origin
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 227
frag = magenta bold
commit = 227 bold
old = red bold
new = green bold
whitespace = red reverse
[github]
user = Khalian
[init]
templatedir = ~/.git-templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment