Skip to content

Instantly share code, notes, and snippets.

@AkashRajvanshi
Created September 21, 2019 16:28
Show Gist options
  • Save AkashRajvanshi/46e4dfb8dbaef3e1557c65bd344cb2bc to your computer and use it in GitHub Desktop.
Save AkashRajvanshi/46e4dfb8dbaef3e1557c65bd344cb2bc to your computer and use it in GitHub Desktop.
GIt config File
[user]
name = Akash
email = akashrajvanshi11@gmail.com
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yello
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = red
[core]
autocrlf = input
compression = 9
excludesfile = ~/.gitignore_global
filemode = false
[diff]
mnemonicprefix = true
[merge]
log = true
ff = false
[push]
default = simple
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
all = add . --all
ci = commit
ign = ls-files -o -i --exclude-standard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment