Skip to content

Instantly share code, notes, and snippets.

@Justasic
Created August 27, 2020 01:18
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 Justasic/762dff681597b46670cb941a22bb8aa8 to your computer and use it in GitHub Desktop.
Save Justasic/762dff681597b46670cb941a22bb8aa8 to your computer and use it in GitHub Desktop.
my git config
[color]
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]
st = status
c = commit -am
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
cherrypick = cherry-pick
# Show files ignored by git:
ign = ls-files -o -i --exclude-standard
[core]
autocrlf = input
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment