chatGPT

Renaming a Git Branch

I created a a new branch to one of my repos, then I did a couple of commits. At this moment I realized that the naming used for this new branch was wrong. I was not sure how to do this from top of my head, and while quickly Googling, I realized as usual that there are apparently one millions way how people do their stuff. Then I decided to ask ChatGPT (at least the one running in Bing) and gave the following steps: