-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig_common
48 lines (48 loc) · 1.61 KB
/
.gitconfig_common
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
[core]
excludesfile = ~/.gitignore
[push]
default = simple
[alias]
clear = clean -f -d
unstage = reset HEAD --
undoch = checkout --
find = log --pretty=\"format:%Cgreen%H %Cblue%s\" --name-status --grep
stag = tag -s
apush = "!f() { for r in $(git remote); do git push --all \"$r\" && git push --tags \"$r\"; done; }; f"
apull = "!f() { for r in $(git remote); do git pull \"$r\" \"$(git symbolic-ref --short HEAD)\" && git fetch --tags \"$r\"; done; }; f"
cpush = "!f() { git push --all \"$1\" && git push --tags \"$1\"; }; f \"$1\""
mpush = "!f() { for d in \"$@\"; do git push --all \"$d\" && git push --tags \"$d\"; done; }; f \"$@\""
repeat = commit --amend --no-edit
set-upstream-all = "!f() { for b in $(git branch --list | sed 's/^..//'); do ! git branch -r | grep \"^ origin/$b\" && continue; git branch --set-upstream-to=\"origin/$b\" \"$b\"; done; }; f \"$@\""
# https://github.com/danielauener/git-auf-deutsch
eroeffne = init
machnach = clone
zieh = pull
fueghinzu = add
drueck = push
pfusch = push
forcepfusch = push --force
erzwinge-pfusch = push --force
zweig = branch
verzweige = branch
uebergib = commit
erde = rebase
unterscheide = diff
vereinige = merge
bunkere = stash
markiere = tag
nimm = checkout
tagebuch = log
zustand = status
beschuldige = blame
commitwlm = "!git commit -eF \"$(git rev-parse --show-toplevel)\"/.git/COMMIT_EDITMSG"
[fetch]
prune = true
[commit]
gpgsign = true
[pull]
ff = only
[init]
defaultBranch = master
[iserv-config "changelog"]
fail-hard = false