Skip to content

Instantly share code, notes, and snippets.

@peterhudec
Created December 10, 2021 14:37
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 peterhudec/a97b2cb97b84fc66e81fb9bde4fe5703 to your computer and use it in GitHub Desktop.
Save peterhudec/a97b2cb97b84fc66e81fb9bde4fe5703 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Peter Hudec
email = peterhudec@peterhudec.com
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:'%h %C(yellow)%ad%Creset [%C(blue)%an%Creset] %C(red)%d%Creset %C(green)%s%Creset' --graph --date=short --color
type = cat-file -t
dump = cat-file -p
cv = commit --verbose
cva = commit --verbose --amend
[credential]
helper = cache --timeout=3600
[color]
ui = true
[mergetool]
keepBackup = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment