2022-08-29 20:14:15 +02:00
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
2020-08-28 21:48:19 +02:00
|
|
|
[alias]
|
2023-07-12 18:31:39 +02:00
|
|
|
# use like this: git mr [REPO] [MERGE REQUEST]
|
|
|
|
# see https://stackoverflow.com/a/50834005 (GitLab)
|
|
|
|
# see https://gist.github.com/gnarf/5406589 (GitHub, modified to be similar to GitLab)
|
|
|
|
mr = !sh -c 'git fetch -fu $1 merge-requests/$2/head:mr-$1-$2 && git checkout mr-$1-$2' -
|
|
|
|
pr = !sh -c 'git fetch -fu $1 refs/pull/$2/head:pr-$1-$2 && git checkout pr-$1-$2' -
|
2020-08-28 21:48:19 +02:00
|
|
|
[user]
|
2023-07-07 20:34:23 +02:00
|
|
|
name = exu
|
2021-03-21 13:09:51 +01:00
|
|
|
email = mrc@frm01.net
|
2021-04-12 15:51:07 +02:00
|
|
|
[gitlab]
|
2023-07-07 20:34:23 +02:00
|
|
|
user = exu
|
2021-04-12 15:51:07 +02:00
|
|
|
[github]
|
2023-07-07 20:34:23 +02:00
|
|
|
user = exu
|