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](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1706068331029%2Fba17c768-ab31-483b-8b3e-dcd5ad229327.png&w=3840&q=75)