diff --git a/functions.sh b/functions.sh index defc0d7..9b5595c 100755 --- a/functions.sh +++ b/functions.sh @@ -1266,5 +1266,16 @@ setserver() { tmux set-environment sshcon "$@" fi } + +setgitremote() { + cd ~/.local/myshellconfig + git checkout master + 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 fetch -p + git merge FETCH_HEAD + git submodule sync + git submodule update --init --recursive +} #EOF