Skip to main content

Some GIT command

Get all bracnhes

git fetch --all

 

To reset specifc branch

git reset --hard origin/<branch_name>

 

Create "develop2" branch and switch to it

git checkout -b develop2

 

Push to "develop2" branch

git push origin develop2

 

 

Tags