add function to set new git-url

This commit is contained in:
Jakobus Schürz 2022-11-15 23:52:51 +01:00
parent a1d0f01ecc
commit aaca6d139a

View file

@ -1271,7 +1271,7 @@ setgitremote() {
cd ~/.local/myshellconfig cd ~/.local/myshellconfig
git checkout master git checkout master
git remote set-url origin https://gitea.schuerz.at/jakob/myshellconfig.git git remote set-url origin https://gitea.schuerz.at/jakob/myshellconfig.git
git remote set-url origin --push https://gitea.schuerz.at/jakob/myshellconfig.git git remote set-url origin --push git@gitea.schuerz.at:jakob/myshellconfig.git
git fetch -p git fetch -p
git merge FETCH_HEAD git merge FETCH_HEAD
git submodule sync git submodule sync