DEV Community

Discussion on: Git hacks you should know about

Collapse
 
sivaraam profile image
Kaartic Sivaraam • Edited

There is a short hand for renaming the current branch which isn't mentioned:

git branch -m new_branch

Collapse
 
iankurbiswas profile image
Ankur Biswas

Thanks for sharing 😁