← Back to context Comment by myaccountonhn 19 hours ago It can be as brief as:ssh server git --bare init myrepo.gitgit clone server:myrepo.git 3 comments myaccountonhn Reply eddieroger 19 hours ago You can even support Actions with this method if you're not afraid of a little scripting. https://git-scm.com/book/ms/v2/Customizing-Git-Git-Hooks jolmg 14 hours ago > git clone server:myrepo.gitor if your local repo existed first: git remote add server server:myrepo.git git push -u server @ sunshine-o 15 hours ago Beautiful !
eddieroger 19 hours ago You can even support Actions with this method if you're not afraid of a little scripting. https://git-scm.com/book/ms/v2/Customizing-Git-Git-Hooks
jolmg 14 hours ago > git clone server:myrepo.gitor if your local repo existed first: git remote add server server:myrepo.git git push -u server @
You can even support Actions with this method if you're not afraid of a little scripting. https://git-scm.com/book/ms/v2/Customizing-Git-Git-Hooks
> git clone server:myrepo.git
or if your local repo existed first:
Beautiful !