testing..
This commit is contained in:
parent
3e36e72a8e
commit
fda25dfc7b
2 changed files with 5 additions and 3 deletions
|
@ -8,8 +8,10 @@ end
|
||||||
# │ If you have any questions, check the git page at: │
|
# │ If you have any questions, check the git page at: │
|
||||||
# │ https://git.k4li.de/pika/fish.git │
|
# │ https://git.k4li.de/pika/fish.git │
|
||||||
# ╰───────────────────────────────────────────────────╯
|
# ╰───────────────────────────────────────────────────╯
|
||||||
# ─────────────────────────────────< Environment-Variables >───────────────────────────────
|
# ────────────────────────────────────────< sources >──────────────────────────────────────
|
||||||
|
source ./functions/git.fish
|
||||||
|
|
||||||
|
# ─────────────────────────────────< Environment-Variables >───────────────────────────────
|
||||||
set -p EDITOR (which nvim)
|
set -p EDITOR (which nvim)
|
||||||
|
|
||||||
# ─────────────────────────< START | distro/packagemanger detection >─────────────────────────
|
# ─────────────────────────< START | distro/packagemanger detection >─────────────────────────
|
||||||
|
@ -161,7 +163,7 @@ if command -v git >/dev/null 2>&1
|
||||||
alias gc='git clone --recurse-submodule'
|
alias gc='git clone --recurse-submodule'
|
||||||
alias ga='git add'
|
alias ga='git add'
|
||||||
alias gp='git pull --recurse-submodule'
|
alias gp='git pull --recurse-submodule'
|
||||||
alias gsu='git submodule foreach git pull && git add . && git commit -m " updated 📌submodules" && echo "-- Committed changes, pushing now.." && sleep 2 && git push'
|
alias gsu='git submodule foreach git pull && git add . && git commit -m " updated 📌submodules" && echo "-- Committed changes, pushing now.." && sleep 1.5 && git push'
|
||||||
alias gcm='git commit -m'
|
alias gcm='git commit -m'
|
||||||
alias gpu='git push --recurse-submodule=on-demand'
|
alias gpu='git push --recurse-submodule=on-demand'
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,7 +3,7 @@ function gsa
|
||||||
read repo
|
read repo
|
||||||
echo "-- enter the branch to checkout (main/master..) --"
|
echo "-- enter the branch to checkout (main/master..) --"
|
||||||
read branch
|
read branch
|
||||||
echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist /) --"
|
echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist / or ./) --"
|
||||||
read -S path
|
read -S path
|
||||||
echo "git submodule add --branch $branch --name $path $repo"
|
echo "git submodule add --branch $branch --name $path $repo"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue