Ubah Nama Cabang Git Lokal
// If you are in a different branch:
git branch -m old-name new-name
// If you are in the same branch:
git branch -m new-name
Inquisitive Iguana
// If you are in a different branch:
git branch -m old-name new-name
// If you are in the same branch:
git branch -m new-name
$ git checkout Branch-Name-You-Want-to-Change
$ git branch -m New-Branch-Name
git branch -m <new-branch-name>