-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
215 lines (202 loc) · 8.39 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
[core]
editor = emacsclientw -a runemacs
longpaths = true
filemode = false
autocrlf = true
[init]
defaultBranch = main
[user]
name = Adinelson Brühmüller
email = [email protected]
[credential]
helper = store
[credential "https://sources.movtech.com.br:3344"]
provider = generic
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[merge]
tool = vscode
[mergetool "vscode"]
cmd = code --wait $MERGED
[fetch]
prune = true
[worktree]
guessRemote = true
[alias]
addf = "!f() { git add --intent-to-add \"$1\" && git update-index --skip-worktree \"$1\"; }; f"
br = branch
bra = branch -a
brl = branch -l
brr = branch -r
cga = config --get-regexp alias
cg = config
cgg = config --global -e
cgl = config --local -e
cl = clone
clb = "!f() {\n repo_url=$1\n repo_name=$(basename \"$repo_url\")\n repo_name=\"${repo_name%.*}.git\"\n git clone --bare \"$repo_url\" \"$repo_name\"\n cd \"$repo_name\"\n git config remote.origin.fetch \"+refs/heads/*:refs/remotes/origin/*\"\n}; f"
cldn = clean -dn
clrdn = clean -dn
clrfx = clean -f -x
clsm = clone --recurse-submodules
cm = commit
cmad = commit --amend
cmadam = commit --amend -a -m
cmadan = commit --amend -a --no-edit
cmadm = commit --amend -m
cmadn = commit --amend --no-edit
cmadpm = commit --amend -p -m
cmadpn = commit --amend -p --no-edit
cmam = commit -a -m
cmm = commit -m
cmp = commit -p
cmpm = commit -p -m
co = checkout
cohf = checkout HEAD --
cyp = crypt
delall = !git branch | grep -vE \"master|dev\" | xargs git branch -D
df = diff
dfv = difftool -t vimdiff
fe = fetch
fea = fetch --all
feat = fetch --all --tags
l = log
lcm = log -1 HEAD --stat
lo = log --graph --all --topo-order --pretty='format:%h %ai %s%d (%an)'
logo = log --oneline
lomd = log origin/dev..HEAD
lomh = log origin/master..HEAD
lp = log --color --graph --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset'
pl = pull
plo = pull origin
plod = pull origin dev
plom = pull origin master
ps = push
psf = push --force
psu = push -u
psup = "!f() { \
current_branch=$(git rev-parse --abbrev-ref HEAD); \
remote_branch=\"$current_branch\"; \
if ! git rev-parse --abbrev-ref --symbolic-full-name @{u} >/dev/null 2>&1; then \
remote_branch=\"--set-upstream origin $current_branch\"; \
fi; \
git push $remote_branch; \
}; f"
rao = remote add origin
rb = rebase
rba = rebase --abort
rbc = rebase --continue
rbd = rebase dev
rbm = rebase master
rescue = !git fsck --full --no-reflogs --unreachable --lost-found | grep commit | cut -d\\ -f3 | xargs -n 1 git log -n 1 --pretty=oneline > .git/lost-found.txt
rmpo = remote prune origin
rstd = reset --hard origin/dev
rstm = reset --hard origin/master
safe = config --global --add safe.directory
sh = stash
sha = stash apply
shc = stash clear
shl = stash list
shs = stash save
sm = submodule
sma = submodule add
smf = submodule foreach --recursive
smfup = submodule foreach --recursive 'git up'
smfuppl = submodule foreach --recursive 'git uppl'
smu = submodule update
st = status
sw = switch
swd = switch dev
swm = switch master
un = ls-files . --exclude-standard --others
up = !git fetch && git status
updev = !git fetch && git status && git pull origin dev
uphome = !git fetch && git status && git pull origin home
upmain = !git fetch && git status && git pull origin main
upmaster = !git fetch && git status && git pull origin master
uppl = !git up && git pull
upwork = !git fetch && git status && git pull origin work
wt = worktree
wta = worktree add
wtl = worktree list
wtr = worktree remove
wtatb = "!f() { git worktree add --track -b $1 $1 origin/$2; }; f"
wtab = "!f() { git worktree add -b $1 $1 $2; }; f"
lsw = switch -
[safe]
directory = C:/Projetos/bsc-project/bsc-api
directory = C:/Projetos/bsc-project/bsc-app
directory = C:/Projetos/budget-project/budget-api
directory = C:/Projetos/budget-project/budget-app
directory = C:/Projetos/menu-project/menu-api
directory = C:/Projetos/menu-project/menu-app
directory = C:/Projetos/qlt
directory = C:/Projetos/quality-2
directory = C:/Projetos/quality-3
directory = C:/Projetos/quality-merge
directory = C:/Projetos/quality-project/quality-api
directory = C:/Projetos/quality-project/quality-app
directory = C:/Projetos/quality.git
directory = C:/Projetos/quality.git/3.4.0
directory = C:/Projetos/quality.git/email
directory = C:/Projetos/quality.git/files
directory = C:/Projetos/sales-project/SalesIntegrationContracts
directory = C:/Projetos/sales-project/sales-api
directory = C:/Projetos/sales-project/sales-app
directory = C:/Projetos/sales.git/ordering
directory = C:/Projetos/stats-project/stats-api
directory = C:/Projetos/stats-project/stats-app
directory = C:/Projetos/supply-project/supply-api
directory = C:/Projetos/supply-project/supply-app
directory = C:/Users/adinelson.bruhmuller.MOVTECH/.config/emacs
directory = C:/Users/adinelson.bruhmuller.MOVTECH/.glaze-wm
directory = C:/Users/adinelson.bruhmuller.MOVTECH/.local/share/chezmoi
directory = C:/Users/adinelson.bruhmuller.MOVTECH/AppData/Local/nvim-data/site/pack/packer/start/packer.nvim
directory = C:/Users/adinelson.bruhmuller.MOVTECH/AppData/Local/nvim-data/site/pack/packer/start/plenary.nvim
directory = C:/Users/adinelson.bruhmuller.MOVTECH/AppData/Local/nvim-data/site/pack/packer/start/popup.nvim
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Documents/Projects/C++/alura-cxx
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Documents/Projects/C++/forgottenserver
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Documents/Projects/Rust/guessing_game
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Documents/Projects/Rust/rose-offline
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Documents/Projects/Zig/advent_of_code_zig_2022
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Documents/Projects/Zig/ziglings
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Nextcloud/Notes
directory = C:/Users/adinelson.bruhmuller.MOVTECH/rustlings
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/apps/qownnotes/5104/Data
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/apps/qownnotes/5104/Data/Notes
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/apps/qownnotes/current/Data
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/apps/scoop/current
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/buckets/.SM
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/buckets/extras
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/buckets/gaming
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/buckets/main
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/buckets/nerd-fonts
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/buckets/rasa
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/buckets/versions
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/buckets/wangzq
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/persist/anki
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/persist/gpg
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/persist/irfanview
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/persist/pcsx2-dev
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/persist/pcsx2-dev/bios
directory = C:/Users/adinelson.bruhmuller.MOVTECH/scoop/persist/vscode
directory = C:\\Users\\adinelson.bruhmuller.MOVTECH\\AppData\\Local\\nvim\\
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Documents/Projects/Alura/alura-cxx
directory = C:\\Users\\adinelson.bruhmuller.MOVTECH\\Documents\\Projects\\Alura\\alura-cxx.git\\main
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Documents/Projects/Alura/alura-cxx.git/main
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Documents/Projects/Emacs/emacs.git/main
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Documents/Projects/Emacs/emacs.git
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Documents/Projects/C++/taiga.git
directory = C:/Users/adinelson.bruhmuller.MOVTECH/Documents/Projects/C++/taiga.git/master
directory = C:\\Users\\adinelson.bruhmuller.MOVTECH\\Documents\\Projects\\Emacs\\emacs.git
directory = C:\\Users\\adinelson.bruhmuller.MOVTECH\\Documents\\Projects\\Emacs\\emacs.git\\main
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = true
[push]
default = upstream