© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Suresh Sala
Mobile application developer.
Conventions<NEW_BRANCH_NAME> = New branch name<BRANCH_NAME> = Current branch name<COMMIT_MESSAGE> = Message for commit/Description of changes/Message will be shown in Git.<SOURCE_BRANCH_NAME> = The branch which you want to merge<COMMIT_CODE> = Every ...
Akcr
git branch -m <old-branch-name> <new-branch-name>
The git branch -m command is used to rename a branch in Git
git checkout -b <branch_name>
is used to create a new branch in a Git repository and switch to that branch in a single step.
Akcr Updated the content. Thank you
Akcr
git branch -m <old-branch-name> <new-branch-name>
The git branch -m command is used to rename a branch in Git