Skip to content

Instantly share code, notes, and snippets.

@bdlangton
Created November 28, 2017 02:58
Show Gist options
  • Save bdlangton/d15636d1b197a6aa3f17653400e9d1e3 to your computer and use it in GitHub Desktop.
Save bdlangton/d15636d1b197a6aa3f17653400e9d1e3 to your computer and use it in GitHub Desktop.
Sample gitconfig
[user]
name = Barrett Langton
email = [email protected]
[core]
editor = vim
filemode = false
[merge]
tool = vimdiff
[alias]
br = branch
ci = commit
co = checkout
cp = cherry-pick
pf = push --force-with-lease
dc = diff --cached
st = status -s
hist = log --pretty=format:\"%h %ad %an | %s%d\" --graph --date=short
clean = clean -fd
[color]
ui = auto
[init]
templatedir = ~/.git-templates
[push]
default = current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment