-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
33 lines (33 loc) · 1.25 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
[user]
name = ***
email = ***
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[core]
excludesfile = /Users/Pooya/.gitignore_global
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[push]
default = simple
[alias]
[alias]
st = status --short --branch
grog = log --graph --abbrev-commit --decorate --all --format=format:\"%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)\"
glog = log --graph --abbrev-commit --decorate --all --format=format:\"%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)\"
logg = log --graph --decorate --oneline --abbrev-commit --all
ls = log --pretty=format:\"%C(yellow)%h %C(green)%s %Creset(%ad)\" --date=relative
root = rev-parse --show-toplevel
s = status
aa = 'add --all'
m = 'commit -am'
c = 'checkout'
up = 'push'