2022-09-29 09:57:52 +02:00
|
|
|
[user]
|
2023-03-01 19:03:09 +01:00
|
|
|
email = fanyx@posteo.net
|
2022-09-29 09:57:52 +02:00
|
|
|
name = fanyx
|
|
|
|
|
2023-05-22 10:06:01 +02:00
|
|
|
[includeIf "gitdir:~/b1/"]
|
2023-09-09 10:28:47 +02:00
|
|
|
path = ~/b1/.config/git/config
|
2023-05-22 10:06:01 +02:00
|
|
|
|
2024-03-26 10:16:09 +01:00
|
|
|
[includeIf "gitdir:~/b1/customer/sap/"]
|
|
|
|
path = ~/b1/customer/sap/.config/git/config
|
2023-05-22 10:06:01 +02:00
|
|
|
|
2022-09-29 09:57:52 +02:00
|
|
|
[alias]
|
2024-09-19 11:20:19 +02:00
|
|
|
# branches
|
|
|
|
branches = branch -a
|
|
|
|
sb = switch
|
|
|
|
sc = switch -c
|
|
|
|
|
|
|
|
# commits
|
2023-09-09 10:28:47 +02:00
|
|
|
cm = commit -m
|
2023-10-12 12:00:05 +02:00
|
|
|
fixup = "!git log -n50 --pretty='format:%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup"
|
2024-09-19 11:20:19 +02:00
|
|
|
ri = "rebase -i"
|
|
|
|
|
|
|
|
# push
|
|
|
|
pushf = "push --force-with-lease"
|
|
|
|
|
|
|
|
# log
|
|
|
|
l = log --pretty='format:%h %G? %s%d' -n20 --graph --color
|
|
|
|
fzs = "!git log -n50 --pretty='format:%h %s' --no-merges | fzf | cut -c -7 | xargs -o git show"
|
|
|
|
|
|
|
|
# status
|
2023-05-22 10:06:01 +02:00
|
|
|
s = status -sb
|
|
|
|
ss = s -uno
|
2022-09-29 09:57:52 +02:00
|
|
|
|
2024-09-19 11:20:19 +02:00
|
|
|
# other
|
|
|
|
tags = tag -l
|
|
|
|
remotes = remote -v
|
|
|
|
|
2022-09-29 09:57:52 +02:00
|
|
|
[color]
|
2023-09-09 10:28:47 +02:00
|
|
|
diff = auto
|
2022-09-29 09:57:52 +02:00
|
|
|
|
2024-09-19 11:20:19 +02:00
|
|
|
[column]
|
|
|
|
ui = auto
|
|
|
|
|
2022-09-29 09:57:52 +02:00
|
|
|
[init]
|
2023-09-09 10:28:47 +02:00
|
|
|
defaultBranch = main
|
2022-09-29 09:57:52 +02:00
|
|
|
|
2024-09-19 11:20:19 +02:00
|
|
|
[branch]
|
|
|
|
sort = -committerdate
|
|
|
|
|
2023-10-12 12:02:41 +02:00
|
|
|
[rebase]
|
|
|
|
autosquash = true
|
|
|
|
|
2022-09-29 09:57:52 +02:00
|
|
|
[credential]
|
2023-09-09 10:28:47 +02:00
|
|
|
helper = store
|
2024-06-26 12:14:17 +02:00
|
|
|
[core]
|
|
|
|
editor = vim
|