Delete stash gitkraken9/23/2023 Delete old branch from remote: `$ git push origin : `.Rename branch name locally: `$ git branch -m `.Checkout to the branch you need to rename: `$ git checkout `. How to rename branch name after it was created But what to do when you find out your branch name is not aligned with the convention, after already pushing code to the branch? Don’t worry, you can still rename your branch. git rename branch: change branch nameĪs I mentioned, having a branch naming convention a good practice and should be adopted as part of your coding standards, and it is especially useful in supporting automation of git workflows. Git tip: not sure when or why to use tags? Read here to learn more (TL DR: automatic releasing) 10.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |