Skip to content

Instantly share code, notes, and snippets.

@jameslzhu
Last active July 1, 2020 19:42
Show Gist options
  • Save jameslzhu/f6f38440585bac880ec95a594b5f3957 to your computer and use it in GitHub Desktop.
Save jameslzhu/f6f38440585bac880ec95a594b5f3957 to your computer and use it in GitHub Desktop.
# .gitconfig - jameslzhu
[user]
name = James Zhu
email = jameszhu@berkeley.edu
[core]
editor = vim
autocrlf = input
filemode = false
[apply]
whitespace = fix
[help]
autocorrect = 10
[push]
default = simple
[branch]
autosetuprebase = always
[alias]
c = commit --verbose
ca = commit --amend --verbose
cm = commit -m
co = checkout
b = branch
ba = branch --all
r = remote -v
a = add
s = status -s
l = log --graph --oneline --decorate
la = log --graph --oneline --decorate --all
p = push
pu = pull
d = diff -w
dca = diff -w --cached
u = reset HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment