Skip to content

Instantly share code, notes, and snippets.

View ronanmccoy's full-sized avatar

Ronan ronanmccoy

View GitHub Profile
@ronanmccoy
ronanmccoy / Rename Git Branch name
Created June 27, 2022 23:15
Rename branch name on local environment
git branch -m master <BRANCH>
git fetch origin
git branch -u origin/<BRANCH> <BRANCH>
git remote set-head origin -a