paint-brush
Git Basics: Renaming a Local and Remote Branchby@samratat
411 reads
411 reads

Git Basics: Renaming a Local and Remote Branch

by Samrat Ghosh1mJanuary 12th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Git is a must for most of the developers and especially web developers. But at times we make silly mistakes cause we are human. And when you incorrectly named a branch and moved it to the remote server/repository. Then follow the below-mentioned steps before any other developer/teammember gets a chance to hop onto you and show you crap for not adapting to naming conventions correctly - The steps are below: Rename your local branch. Delete the <old-name>. remote branch and push the <new-name> local branch.

Company Mentioned

Mention Thumbnail
featured image - Git Basics: Renaming a Local and Remote Branch
Samrat Ghosh HackerNoon profile picture
Samrat Ghosh

Samrat Ghosh

@samratat

Software Engineer @ Maersk

About @samratat
LEARN MORE ABOUT @SAMRATAT'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Samrat Ghosh HackerNoon profile picture
Samrat Ghosh@samratat
Software Engineer @ Maersk

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Learnrepo