Skip to content

Instantly share code, notes, and snippets.

@georgeck
Last active March 10, 2017 18:30
Show Gist options
  • Save georgeck/3972077 to your computer and use it in GitHub Desktop.
Save georgeck/3972077 to your computer and use it in GitHub Desktop.
Defaults for Git Config
[core]
editor = 'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
[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
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
f = grep --break --heading --line-number -i -F
# Show files ignored by git:
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