Skip to content

Instantly share code, notes, and snippets.

@findkiko
Created September 22, 2015 06:51
Show Gist options
  • Save findkiko/3e053a1c11ec70513c77 to your computer and use it in GitHub Desktop.
Save findkiko/3e053a1c11ec70513c77 to your computer and use it in GitHub Desktop.
[user]
name = your_name
email = your_email
[core]
autocrlf = input
safecrlf = true
excludesfile = ~/.cvsignore
[alias]
co = checkout
cb = checkout -b
ci = commit
st = status
br = branch
hist = log -n 20 --pretty=format:\"%C(yellow)%h%Cgreen %ad%Creset | %s%d\" --graph --date=short
type = cat-file -t
dump = cat-file -p
diffc = diff --word-diff=color
dc = diff --word-diff=color
diff = diff --color=always --minimal
[push]
default = current
# Make the hist command output to stdout so you can still see/use commit hashes after running 'git hist'
[pager]
hist = cat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment