-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
104 lines (104 loc) · 2.16 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[user]
signingkey = ***
email = [email protected]
name = Shivani Bhardwaj
[core]
editor = vim
whitespace = fix,space-before-tab,-indent-with-non-tab,tabwidth=4,trailing-space,cr-at-eol
excludesfile = /home/ard/.gitignore_global
[web]
browser = firefox
[branch "master"]
pushRemote = false
[color "branch"]
current = yellow bold
local = green bold
remote = red bold
[color "grep"]
matchSelected = yellow dim
[color "diff"]
meta = cyan bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = green bold
changed = yellow bold
[clean]
requireForce = true
[commit]
verbose = 2
[diff]
renames = true
tool = vimdiff3
[difftool]
prompt = true
[github]
user = inashivb
[gitlab]
user = ***
[format]
from = true
[help]
autocorrect = immediate
[blame]
blankBoundary = true
[alias]
## CHECK STATUS ##
s = status
## GET REMOTE DATA ##
f = fetch
p = pull
## CHECK DIFF ##
d = diff
dc = diff --cached
## CHECKOUT ##
ch = checkout
chb = checkout -b
## COMMIT ##
c = commit
cm = commit -m
ca = commit -a
cma = commit -am
cc = commit --amend
## ADD ##
a = add
cf = clang-format
## REBASE ##
rb = rebase
rs = rebase -i
rba = rebase --abort
rbc = rebase --continue
## PUSH ##
pu = push origin HEAD
pf = push -f origin HEAD
## LOG ##
l = log
ll = log --oneline
## BRANCH ##
b = branch
ba = branch -a
bd = branch -d
bdr = branch -D
## CLONE ##
cl = clone
cld = clone --depth 1
## CHERRY-PICK ##
cp = cherry-pick
cpx = cherry-pick -x
cpa = cherry-pick --abort
cpc = cherry-pick --continue
## MERGE-REQUESTS ##
mr = !sh -c \"git fetch upstream merge-requests/${1}/head:mr/${1} && git checkout mr/${1}\"
## PULL-REQUESTS ##
pr = !sh -c \"git fetch upstream pull/${1}/head:pr/${1} && git checkout pr/${1}\"
## RESET ##
re = reset
rh = reset HEAD
## STASH ##
sa = stash apply
sd = stash drop
sp = stash pop
ss = stash show
## WORKTREE ##
wl = worktree list