delete local branch git
Shell
// delete branch locally
git branch -d localBranchName
//delete local branch that is unmerged
git branch -D localBranchName
// delete branch remotely
git push origin --delete remoteBranchNamegit push --delete remoteName branchNamegit branch -d <branch_name>// delete branch locally
git branch -d localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
//delete locally
git branch -d branch_name
//delete remotely
//git push <remote_name> :<branch_name>
// ex. git push origin :serverfix## git version 2.25.1
## Deleting local branches
git branch -d feature/login
## Deleting remote branches
git push origin --delete feature/login
## Deleting both a local and a remote branch
## They are completely separate objects in Git. But
git branch -d feature/login && git push origin --delete feature/login
Also in Shell:
- Title
- cmd rename multiple files
- Category
- Shell
- Title
- ubuntu delete all files with extension
- Category
- Shell
- Title
- git reset
- Category
- Shell
- Title
- ubuntu open directory from terminal
- Category
- Shell
- Title
- git add commit in one command
- Category
- Shell
- Title
- install pandas conda
- Category
- Shell
- Title
- add git user and email
- Category
- Shell
- Title
- qpdf decrypt with password
- Category
- Shell
- Title
- how to install mongoose
- Category
- Shell
- Title
- git second commit
- Category
- Shell
- Title
- whats the internet
- Category
- Shell
- Title
- install jupyter notebook
- Category
- Shell
- Title
- how to make a .sh file executable
- Category
- Shell
- Title
- how to use sass in react without eject
- Category
- Shell
- Title
- linux os update
- Category
- Shell
- Title
- npm list global packages
- Category
- Shell
- Title
- install docker linux
- Category
- Shell
- Title
- how to get ssh access to a computer
- Category
- Shell
- Title
- git bash Could not open a connection to your authentication agent. when adding ssh
- Category
- Shell
- Title
- remove git credentials terminal
- Category
- Shell
- Title
- react native blank screen linux
- Category
- Shell
- Title
- How to check git config username?
- Category
- Shell
- Title
- linux mesuare request time http
- Category
- Shell
- Title
- grep cheat sheet
- Category
- Shell
- Title
- join linux to ad domain
- Category
- Shell
- Title
- bash list not
- Category
- Shell
- Title
- how to change dotnet version
- Category
- Shell
- Title
- bash linux scripting laguage
- Category
- Shell
- Title
- terminal italics test sequence
- Category
- Shell
- Title
- bash edit prompt display appearance
- Category
- Shell
- Title
- xampp shell fonts
- Category
- Shell
- Title
- Failed at the [email protected] postinstall script.
- Category
- Shell
- Title
- how to install wordpress ubuntu 16.04 rosehosting
- Category
- Shell
- Title
- ubuntu list running services
- Category
- Shell
- Title
- git clean remote branches
- Category
- Shell
- Title
- avalible ios simulators
- Category
- Shell
- Title
- git show stashes
- Category
- Shell
- Title
- shell file in linux
- Category
- Shell
- Title
- remove mysql
- Category
- Shell
- Title
- how to download with wget
- Category
- Shell
- Title
- boolean constants in bash
- Category
- Shell
- Title
- will exe file work on ubantu
- Category
- Shell
- Title
- mongodb installation on mac
- Category
- Shell
- Title
- git authentication failed
- Category
- Shell
- Title
- git delete repository command line
- Category
- Shell
- Title
- pycharm install face_recognition
- Category
- Shell
- Title
- linux give full permission to directory
- Category
- Shell
- Title
- lvm resize ext4
- Category
- Shell
- Title
- kali linux change keyboard layout
- Category
- Shell
- Title
- rsync examples
- Category
- Shell
- Title
- git command autocomplete
- Category
- Shell
- Title
- git grep across all branches
- Category
- Shell
- Title
- conda install from yaml
- Category
- Shell
- Title
- edit default port for linux server
- Category
- Shell
- Title
- how to install docker ubuntu
- Category
- Shell
- Title
- send file to aws ec2 termnal
- Category
- Shell
- Title
- pycharm duplicate line
- Category
- Shell
- Title
- ubuntu bluetooth not listed
- Category
- Shell
- Title
- ubuntu 16.04 bluetooth not detecting devices
- Category
- Shell
- Title
- bash get field from line
- Category
- Shell
- Title
- install docker
- Category
- Shell
- Title
- linux how to see ports in use
- Category
- Shell
- Title
- firewall in ubuntu 18.04
- Category
- Shell
- Title
- digital bootcamps in gauteng
- Category
- Shell
- Title
- java to jar
- Category
- Shell
- Title
- git get access to private repository
- Category
- Shell
- Title
- check upstream branch git
- Category
- Shell
- Title
- chmode ubuntu
- Category
- Shell
- Title
- delete github repository without browser
- Category
- Shell
- Title
- extract tar.gz ubuntu terminal
- Category
- Shell
- Title
- install react react testing library
- Category
- Shell
- Title
- how to install and update git mac terminal
- Category
- Shell
- Title
- how to tar linux
- Category
- Shell
- Title
- nvcc not working after installing cuda
- Category
- Shell
- Title
- change git password on terminal
- Category
- Shell
- Title
- utorrent on ubuntu
- Category
- Shell
- Title
- find flutter version
- Category
- Shell
- Title
- git file history
- Category
- Shell
- Title
- linux zip a directory
- Category
- Shell
- Title
- linux loop over all arguments one by one
- Category
- Shell
- Title
- linux screen brightness command line
- Category
- Shell
- Title
- pip installer for mac
- Category
- Shell
- Title
- git pull a new branch froma remote repo
- Category
- Shell
- Title
- ubuntu list users
- Category
- Shell
- Title
- remove all files with no extention rm
- Category
- Shell
- Title
- Documentazione relativa a Sottosistema di Windows per Linux
- Category
- Shell
- Title
- A template was not provided. This is likely because you're using an outdated version of create-react-app. Please note that global installs of create-react-app are no longer supported.
- Category
- Shell
- Title
- php my admin
- Category
- Shell
- Title
- gumlet/php-image-resize 1.9.2 requires ext-gd *
- Category
- Shell
- Title
- git add
- Category
- Shell
- Title
- [mysqld] ubuntu 18
- Category
- Shell
- Title
- apt get install docker compose
- Category
- Shell
- Title
- authentication failed github
- Category
- Shell
- Title
- ubuntu installing gimp
- Category
- Shell
- Title
- check apache version ubuntu
- Category
- Shell
- Title
- check directory size
- Category
- Shell
- Title
- sudoers nopasswd
- Category
- Shell
- Title
- Endpoint Security VPN build 986000724 is already installed on this computer.
- Category
- Shell
- Title
- if else in mac terminal
- Category
- Shell
- Title
- unzip gz file linux
- Category
- Shell