Issue the following commands
git add FOLDER_PATH/* git commit -m 'Adding new module' git push origin BRANCH_NAME
Issue the following commands
git add FOLDER_PATH/* git commit -m 'Adding new module' git push origin BRANCH_NAME
Run the following commands
git branch -d BRANCH_NAME git push origin --delete BRANCH_NAME
Run the following command
git branch -d BRANCH_NAME
Run the following commands
git checkout -b NEW_BRANCH_NAME git push -u origin NEW_BRANCH_NAME
1. Rename your local branch.
If you are on the branch you want to rename:
git branch -m NEWNAME
If you are on a different branch:
git branch -m OLDNAME NEWNAME
2. Delete the old-name remote branch and push the NEWNAME local branch.
git push origin :OLDNAME NEWNAME
3. Reset the upstream branch for the NEWNAME local branch.
Switch to the branch and then:
git push origin -u NEWNAME