Skip to content

Instantly share code, notes, and snippets.

@artemjackson
Last active October 1, 2016 10:50
Show Gist options
  • Save artemjackson/5adebb637fb5e87072cd4c7f4175bb71 to your computer and use it in GitHub Desktop.
Save artemjackson/5adebb637fb5e87072cd4c7f4175bb71 to your computer and use it in GitHub Desktop.
Common ~/.gitconfig file
[core]
editor = gedit
[user]
email = user@email.com
name = User name
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment