Back to discussionComment by myaccountonhn[-]myaccountonhn3 months ago3 replies#It can be as brief as:ssh server git --bare init myrepo.gitgit clone server:myrepo.giteddieroger3 months 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-Hookssunshine-o3 months ago#Beautiful !jolmg3 months ago#> git clone server:myrepo.gitor if your local repo existed first: git remote add server server:myrepo.git git push -u server @
myaccountonhn3 months ago3 replies#It can be as brief as:ssh server git --bare init myrepo.gitgit clone server:myrepo.git
eddieroger3 months 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
jolmg3 months ago#> git clone server:myrepo.gitor if your local repo existed first: git remote add server server:myrepo.git git push -u server @
ssh server git --bare init myrepo.git
git clone server:myrepo.git
or if your local repo existed first: