mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-11-30 10:56:55 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
8 lines
631 B
Markdown
8 lines
631 B
Markdown
# Renaming Branch
|
||
|
||
Renaming a branch in Git means changing the name of a branch to something different while preserving its history and the commits it contains. The branch itself remains the same in terms of the code and history it tracks, but the reference (the name by which you refer to it) is updated
|
||
|
||
Visit the following resources to learn more:
|
||
|
||
- [@official@Renaming a Branch - GitHub Docs](https://docs.github.com/github/administering-a-repository/renaming-a-branch)
|
||
- [@article@Git Rename Branch – How to Change a Local Branch Name](https://www.freecodecamp.org/news/git-rename-branch-how-to-change-a-local-branch-name/) |