git rename branch
git branch -m <oldname> <newname> # Any Branch
git branch -m <newname> # Current Branch
# For windows if you get "Branch already exists" error
git branch -M <newname>git branch -m <newname>
git branch -m <new_name>$ git checkout Branch-Name-You-Want-to-Change
$ git branch -m New-Branch-Namegit push origin :<branch_to_rename>
git checkout -b <new_branch_name>
git push --set-upstream origin <new_branch_name>How to rename a branch on git
Also in Shell:
- linux write
- ng cli generate component
- git bash Could not open a connection to your authentication agent
- git merge pushed commits
- how to install emotion in gatsby
- gparted ubuntu
- remove mongo lock file from centos 7
- how to push to git hub
- install dev dependency yarn
- powershell sharepoint copy file to other site collection
- how to add images to git readme
- update to wsl2
- how to uninstall a package with yarn
- ubuntu add user to group
- how to grep if the first letter is a character not a number
- linux tar zip folder
- how to get the size of directory in linux
- install jupyter
- git clone submodule
- remove remote git
- install dependencies @material-ui/lab/Rating
- bash script until loop
- netstat check port
- linux log serial to binary file