Sapiens Search

Showing posts with label branch. Show all posts
Showing posts with label branch. Show all posts

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