Update git config stuff
This commit is contained in:
parent
93d0e11a10
commit
bccb6e2953
@ -13,10 +13,10 @@
|
|||||||
# sort = -committerdate
|
# sort = -committerdate
|
||||||
#[tag]
|
#[tag]
|
||||||
# sort = taggerdate
|
# sort = taggerdate
|
||||||
[gitlab]
|
# [gitlab]
|
||||||
user = exu
|
# user = exu
|
||||||
[github]
|
# [github]
|
||||||
user = exu
|
# user = exu
|
||||||
[alias]
|
[alias]
|
||||||
# use like this: git mr [REPO] [MERGE REQUEST]
|
# use like this: git mr [REPO] [MERGE REQUEST]
|
||||||
# see https://stackoverflow.com/a/50834005 (GitLab)
|
# see https://stackoverflow.com/a/50834005 (GitLab)
|
||||||
@ -25,3 +25,6 @@
|
|||||||
pr = !sh -c 'git fetch -fu $1 refs/pull/$2/head:pr-$1-$2 && git checkout pr-$1-$2' -
|
pr = !sh -c 'git fetch -fu $1 refs/pull/$2/head:pr-$1-$2 && git checkout pr-$1-$2' -
|
||||||
# checkout latest tag
|
# checkout latest tag
|
||||||
latest = !sh -c 'git describe --tags $(git rev-list --tags --max-count=1) | xargs git checkout' -
|
latest = !sh -c 'git describe --tags $(git rev-list --tags --max-count=1) | xargs git checkout' -
|
||||||
|
# conditonal config
|
||||||
|
[includeIf "gitdir:**/occ/**"]
|
||||||
|
path = ~/.gitconfig-occ
|
||||||
|
@ -6,9 +6,12 @@ Host gitlab.com
|
|||||||
Host github.com
|
Host github.com
|
||||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
IdentityFile /home/exu/.ssh/id_ed25519_git
|
||||||
|
|
||||||
# Private gitea
|
|
||||||
Host gitea.exu.li
|
Host gitea.exu.li
|
||||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
IdentityFile /home/exu/.ssh/id_ed25519_git
|
||||||
|
|
||||||
Host aur.archlinux.org
|
Host aur.archlinux.org
|
||||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
IdentityFile /home/exu/.ssh/id_ed25519_git
|
||||||
|
|
||||||
|
Host git.open-circle.ch
|
||||||
|
IdentityFile /home/exu/.ssh/id_ed25519_git
|
||||||
|
AddressFamily inet
|
||||||
|
Loading…
Reference in New Issue
Block a user