Git rename branch on remote
It's impossible ... but, you can copy a branch then delete the old one. On the remote named origin (the default name), copy the master branch in new main branch. git push origin origin/master:refs/heads/main To delete the old master branch (the : me...
Jul 25, 20241 min read7
![[Quicky] Github Action: cache Ruby's gems](https://cdn.hashnode.com/res/hashnode/image/upload/v1706068331029/ba17c768-ab31-483b-8b3e-dcd5ad229327.png)