How To Rename GIT Branch-DecodingDevOps
How To Rename GIT Branch-DecodingDevOps
by using git branch command we can rename git branch, in the following steps i will show you how to rename a git branch step by step.
to rename a branch first you should be in your branch, once you are in the branch we can rename the branch.
Rename the GIT branch
git branch –m new_branch_name
using above command we can rename the branch.
in the above image you can see i changed the 'sit' branch name to 'UAT'.