Sapiens Search

How to rename a branch on git?


1-Go to your repository
cd /<Path to your git repository>
2-Type:
git branch -m <Old branch name> <New branch name>

Example

git branch -m blog garouBlog

No comments:

Post a Comment