mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
{bash,zsh}rc: maybe also handle accidental branch renaming? ':)
This commit is contained in:
parent
68286f804c
commit
67366a2356
@ -749,6 +749,7 @@ function shell-things {
|
|||||||
cd $SHELL_THINGS_REPO
|
cd $SHELL_THINGS_REPO
|
||||||
git remote set-url origin https://codeberg.org/Aminda/shell-things.git
|
git remote set-url origin https://codeberg.org/Aminda/shell-things.git
|
||||||
git fetch --all
|
git fetch --all
|
||||||
|
git checkout -b cxefa origin/cxefa
|
||||||
git pull
|
git pull
|
||||||
echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers"
|
echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers"
|
||||||
git verify-commit HEAD || exit 1
|
git verify-commit HEAD || exit 1
|
||||||
|
1
rc/zshrc
1
rc/zshrc
@ -735,6 +735,7 @@ function shell-things {
|
|||||||
cd $SHELL_THINGS_REPO
|
cd $SHELL_THINGS_REPO
|
||||||
git remote set-url origin https://codeberg.org/Aminda/shell-things.git
|
git remote set-url origin https://codeberg.org/Aminda/shell-things.git
|
||||||
git fetch --all
|
git fetch --all
|
||||||
|
git checkout -b cxefa origin/cxefa
|
||||||
git pull
|
git pull
|
||||||
echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers"
|
echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers"
|
||||||
git verify-commit HEAD || exit 1
|
git verify-commit HEAD || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user