-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitconfig
More file actions
59 lines (59 loc) · 1.62 KB
/
gitconfig
File metadata and controls
59 lines (59 loc) · 1.62 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[user]
name = Tim Uruski
email = hey@tim.uru.ski
[github]
user = timuruski
token = !security 2>&1 >/dev/null find-generic-password -gs github.token | ruby -e 'print $1 if STDIN.gets =~ /^password: \\\"(.*)\\\"$/'
password = !security 2>&1 >/dev/null find-generic-password -gs github.password | ruby -e 'print $1 if STDIN.gets =~ /^password: \\\"(.*)\\\"$/'
[color]
ui = auto
[alias]
aa = add --all
amend = commit --amend
au = add --update
b = branch --sort='-committerdate'
c = commit
co = checkout
current-branch = branch --show-current
d = diff -M
dc = diff --cached
ds = diff --stat
diffc = diff --cached
discard = checkout --patch
deploy-msg = "!source ~/.githelpers && deploy_git_log"
evo = log --pretty=format:"[%h] %an %ad %s" --date=short --numstat
ff = "!source ~/.githelpers && ffwd"
ffx = merge --ff-only
git = !git
h = !git head
head = !git l -1
hp = "!source ~/.githelpers && show_git_head"
l = "!source ~/.githelpers && pretty_git_log"
la = !git l --all
ld = !git l --simplify-by-decoration
lt = !git l --since=yesterday
new-branch = switch --create
noff = merge --no-ff
p = add --patch
po = push origin
pob = !source ~/.githelpers && push_origin
pom = push origin master
r = !git --no-pager l -20
ra = !git r --all
s = status --short --branch
sw = fuzzy-switch
show-upstream = "rev-parse --abbrev-ref --symbolic-full-name @{u}"
unstage = reset --patch
update = pull --ff-only
new-branch = checkout -b
[core]
excludesfile = "~/.gitignore_global"
[diff]
[push]
default = simple
[credential]
helper = osxkeychain
[pull]
ff = only
[init]
defaultBranch = main