Skip to content

Instantly share code, notes, and snippets.

@AlexKorovyansky
Created August 1, 2014 05:40
Show Gist options
  • Save AlexKorovyansky/86de6e4020494f178290 to your computer and use it in GitHub Desktop.
Save AlexKorovyansky/86de6e4020494f178290 to your computer and use it in GitHub Desktop.
Template for .gitconfig
[user]
name = Alex Korovyansky
email = korovyansk@gmail.com
[core]
editor = subl -n -w
[push]
default = simple
[alias]
co = checkout
ci = commit
st = status
br = branch
lol = log --graph --decorate --pretty=oneline --abbrev-commit
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
undo = reset --hard
stat = show --stat
pull = pull --no-commit
[apply]
whitespace = nowarn
[color]
diff = auto
status = auto
branch = auto
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment