-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
36 lines (36 loc) · 1.02 KB
/
gitconfig
File metadata and controls
36 lines (36 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[user]
name = Zach Gulde
email = zachgulde@gmail.com
[core]
editor = nvim
; editor = code -r -w
; editor = emacsclient -c
excludesfile = /Users/zach/.gitignore
; autocrlf = true
[alias]
aa = add -A
bclean = !git checkout master && git branch --merged | grep -v master | xargs git branch -d
cv = commit -v
ca = commit --amend
ce = commit --amend --no-edit
co = checkout
; deep-clean = "!rm -rf `git status --porcelain | grep ?? | cut -d\ -f 2`"
fo = fetch origin
lg = log --oneline --decorate --graph
pom = pull origin master
rbi = rebase -i origin/master
s = status
ss = status -s
undo = reset HEAD~
redo = commit -c ORIG_HEAD
unstage = reset HEAD
wip = "!f(){ git add -A && git commit -m \"WIP $@\"; };f"
rom = rebase origin/master
tree = log --oneline --decorate --graph --pretty='%Cgreen%an%Creset %Cblue(%cr)%Creset <%Cred%h%Creset>%d%n%s%n%n%b'
recommit = commit -C ORIG_HEAD
[merge]
; conflictstyle = diff3
[diff]
tool = diff
[rebase]
autosquash = true