Add GLab CLI aliases to config dir + update gitconfig for Linux as usual.

Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2021-12-05 12:35:04 +08:00
parent 0e4dc88793
commit 65b5a5fca1
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
2 changed files with 15 additions and 10 deletions

View File

@ -0,0 +1,10 @@
ci: pipeline ci
co: mr checkout
clone: repo clone
new-repo: repo create
nuke-repo: repo delete
search: repo search
fork: repo fork
pr: mr
pr list: mr list
pr create: mr create

View File

@ -37,13 +37,6 @@
[url "git+ssh://ajhalili2006@git.launchpad.net/"]
insteadof = lp:
pushInsteadOf = lp:
# Same case because we have GLab CLI.
#[url "git+ssh://git@gitlab.alpinelinux.org/"]
# insteadof = alpine:
# pushInsteadOf = alpine:
#[url "git@gitlab.com:"]
# insteadOf = https://gitlab.com/
# pushInsteadOf = https://gitlab.com/
[url "git@bitbucket.org:"]
insteadOf = https://bitbucket.org/
[init]
@ -58,9 +51,11 @@
stage = "add"
unstage = "restore --staged"
stats = "status"
sdiff = !git diff && git submodule foreach 'git diff'
spush = push --recurse-submodules=on-demand
supdate = submodule update --remote --merge
sdiff = !git diff && git submodule foreach 'git diff'
spush = push --recurse-submodules=on-demand
supdate = submodule update --remote --merge
skipCi = push -o ci.skip
root = rev-parse --show-toplevel
# LFS
[filter "lfs"]