Skip to content

Instantly share code, notes, and snippets.

@Pitel
Created February 29, 2012 13:10
Show Gist options
  • Save Pitel/1940729 to your computer and use it in GitHub Desktop.
Save Pitel/1940729 to your computer and use it in GitHub Desktop.
Git config
[user]
name = John Smith
email = john@smith.com
[color]
ui = auto
[core]
autocrlf = input
safecrlf = true
[alias]
st = status
ci = commit
co = checkout
br = branch
unstage = reset HEAD --
last = log -1 HEAD
visual = !gitk
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
[github]
user = JohnS
token = xxxxxxxxxxxxxxxxx
[push]
default = tracking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment