-- Leo's gemini proxy
-- Connecting to darknesscode.xyz:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-US
This steps works for Github, Gitlab and your own git server.
git branch -m master main
git push -u origin main
git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main
Follow the instructions in your git provider to change the defual master
git push origin --delete master
git branch -a
You should have an output like
* main remotes/origin/HEAD -> origin/main remotes/origin/main
That's it... you chanched the master branch to main
----------
----------
© DarknessCode - LinuxSucks
-- Response ended
-- Page fetched on Tue May 21 17:35:30 2024