Add more aliases relating to submdoule management
Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
233fcdd408
commit
23fbc75f97
|
@ -1,6 +1,15 @@
|
||||||
|
# Git Credential handlers with GitHub/GLab CLI
|
||||||
[credential "https://github.com"]
|
[credential "https://github.com"]
|
||||||
helper = !gh auth git-credential
|
helper = !gh auth git-credential
|
||||||
|
[credential "https://gitlab.com"]
|
||||||
|
helper = !/usr/bin/glab auth git-credential
|
||||||
|
[credential "https://gitlab.alpinelinux.org"]
|
||||||
|
helper = !/usr/bin/glab auth git-credential
|
||||||
|
[credential "https://salsa.debian.org"]
|
||||||
|
helper =
|
||||||
|
helper = !/usr/bin/glab auth git-credential
|
||||||
|
|
||||||
|
# User config
|
||||||
[user]
|
[user]
|
||||||
email = ajhalili2006@gmail.com
|
email = ajhalili2006@gmail.com
|
||||||
name = Andrei Jiroh Eugenio Halili
|
name = Andrei Jiroh Eugenio Halili
|
||||||
|
@ -14,6 +23,8 @@
|
||||||
# tool = vscode
|
# tool = vscode
|
||||||
#[difftool "vscode"]
|
#[difftool "vscode"]
|
||||||
# cmd = code --wait --diff $LOCAL $REMOTE
|
# cmd = code --wait --diff $LOCAL $REMOTE
|
||||||
|
|
||||||
|
# Commit settings
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
|
|
||||||
|
@ -26,12 +37,13 @@
|
||||||
[url "git+ssh://ajhalili2006@git.launchpad.net/"]
|
[url "git+ssh://ajhalili2006@git.launchpad.net/"]
|
||||||
insteadof = lp:
|
insteadof = lp:
|
||||||
pushInsteadOf = lp:
|
pushInsteadOf = lp:
|
||||||
[url "git+ssh://git@gitlab.alpinelinux.org/"]
|
# Same case because we have GLab CLI.
|
||||||
insteadof = alpine:
|
#[url "git+ssh://git@gitlab.alpinelinux.org/"]
|
||||||
pushInsteadOf = alpine:
|
# insteadof = alpine:
|
||||||
[url "git@gitlab.com:"]
|
# pushInsteadOf = alpine:
|
||||||
insteadOf = https://gitlab.com/
|
#[url "git@gitlab.com:"]
|
||||||
pushInsteadOf = https://gitlab.com/
|
# insteadOf = https://gitlab.com/
|
||||||
|
# pushInsteadOf = https://gitlab.com/
|
||||||
[url "git@bitbucket.org:"]
|
[url "git@bitbucket.org:"]
|
||||||
insteadOf = https://bitbucket.org/
|
insteadOf = https://bitbucket.org/
|
||||||
[init]
|
[init]
|
||||||
|
@ -46,12 +58,19 @@
|
||||||
stage = "add"
|
stage = "add"
|
||||||
unstage = "restore --staged"
|
unstage = "restore --staged"
|
||||||
stats = "status"
|
stats = "status"
|
||||||
|
sdiff = !git diff && git submodule foreach 'git diff'
|
||||||
|
spush = push --recurse-submodules=on-demand
|
||||||
|
supdate = submodule update --remote --merge
|
||||||
|
|
||||||
|
# LFS
|
||||||
[filter "lfs"]
|
[filter "lfs"]
|
||||||
clean = git-lfs clean -- %f
|
clean = git-lfs clean -- %f
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
process = git-lfs filter-process
|
process = git-lfs filter-process
|
||||||
required = true
|
required = true
|
||||||
|
|
||||||
|
# pull
|
||||||
[pull]
|
[pull]
|
||||||
rebase = true
|
rebase = true
|
||||||
[credential "https://gitlab.alpinelinux.org"]
|
[push]
|
||||||
helper = !/usr/bin/glab auth git-credential
|
recurseSubmodules = check
|
||||||
|
|
Loading…
Reference in New Issue