-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
49 lines (49 loc) · 1.42 KB
/
.gitconfig
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
37
38
39
40
41
42
43
44
45
46
47
48
49
[alias]
b = branch
c = commit
ca = commit --amend
d = diff
dc = diff --cached
dk = diff --check
dp = diff --patience
dck = diff --cached --checked
empty = "git commit --allow-empty"
f = fetch
fp = fetch --prune
loga = log --pretty=format:'%C(yellow)%h - %ad%Cred%d | %Creset%s%Cblue [%cn]' --decorate --date=short --numstat
logg = log --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all --date=relative --graph
logs = log --pretty=format:'%C(yellow)%h - %ad%Cred%d | %Creset%s%Cblue [%cn]' --decorate --date=short
p = push
pl = pull
rbi = rebase --interactive
root = "!f() { cd $(git rev-parse --show-toplevel); }; f"
sh = shortlog -sn
shf = shortlog --all --format='format:%cs %h %s'
s = status
sa = stash apply
sc = stash clear
sd = stash drop
sl = stash list
sp = stash pop
ss = stash save
sw = stash show
touched = "!f() { git log --pretty='%H' --author='Petesta\\|Pete Cruz' | while read commit_hash; do git show --oneline --name-only $commit_hash | tail -n+2; done | sort | uniq; }; f"
[color "branch"]
local = blue
remote = yellow
[color "diff"]
whitespace = red
[color "status"]
untracked = yellow
[core]
editor = vim
excludesfile = ~/.gitignore
whitespace = cr-at-eol
[credential]
helper = osxkeychain
[push]
default = upstream
[user]
email = iPetesta@gmail.com
name = Pete Cruz
username = Petesta