git delete branch
Shell
// 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// 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 branch -d <branch_name>git push --delete remoteName branchName## 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
- git switch branch
- Category
- Shell
- Title
- git commit ignore eslint
- Category
- Shell
- Title
- git change git commit date
- Category
- Shell
- Title
- pip install from requirements.txt
- Category
- Shell
- Title
- why i am not able to paste anything in htdocs folder in ubuntu
- Category
- Shell
- Title
- npm install express-handlebars
- Category
- Shell
- Title
- linux replace string in files recursively
- Category
- Shell
- Title
- bash for loop
- Category
- Shell
- Title
- foreach powershell
- Category
- Shell
- Title
- no ip raspberry manually update
- Category
- Shell
- Title
- How to find your ip on debian linux wsl
- Category
- Shell
- Title
- bazel instal
- Category
- Shell
- Title
- BDD framework in testcomplete github
- Category
- Shell
- Title
- git flow release
- Category
- Shell
- Title
- vagrant 16
- Category
- Shell
- Title
- how to open mongodb-compass
- Category
- Shell
- Title
- centos 7 install docker compose
- Category
- Shell
- Title
- install skimage
- Category
- Shell
- Title
- how to stop a web server linux
- Category
- Shell
- Title
- git config --global http.sslverify "false" This command resolve my problem
- Category
- Shell
- Title
- how to create a branch in git
- Category
- Shell
- Title
- how to kill a process in linux
- Category
- Shell
- Title
- nslookup not found ubuntu
- Category
- Shell
- Title
- gatsby starter hello world
- Category
- Shell
- Title
- locate file in same directory linux
- Category
- Shell
- Title
- flasky fake
- Category
- Shell
- Title
- vagrant ubuntu 16.04
- Category
- Shell
- Title
- virtualbox kernel driver not installed ubuntu
- Category
- Shell
- Title
- install vim mac
- Category
- Shell
- Title
- update pip
- Category
- Shell
- Title
- ubuntu install opencl
- Category
- Shell
- Title
- zip entire directory ubuntu
- Category
- Shell
- Title
- passport deploy to server
- Category
- Shell
- Title
- install docker linux
- Category
- Shell
- Title
- .htaccess
- Category
- Shell
- Title
- how to rsync linux
- Category
- Shell
- Title
- how to undo makemigrations django
- Category
- Shell
- Title
- intall docker ubuntu command
- Category
- Shell
- Title
- command git message
- Category
- Shell
- Title
- how to install theme in sublime text 3
- Category
- Shell
- Title
- git remove tag from remote
- Category
- Shell
- Title
- install kubernetes on ubuntu
- Category
- Shell
- Title
- install bootstrap in laravel
- Category
- Shell
- Title
- Pyrit download command for linux
- Category
- Shell
- Title
- how to get application guid powershell
- Category
- Shell
- Title
- powershell append to file
- Category
- Shell
- Title
- bash string starts with
- Category
- Shell
- Title
- Could not execute 'apt-key' to verify signature (is gnupg installed?)
- Category
- Shell
- Title
- mac brew: command not found
- Category
- Shell
- Title
- touch for powershell
- Category
- Shell
- Title
- how to import microsoft.online sharepoint powershell
- Category
- Shell
- Title
- grep and
- Category
- Shell
- Title
- how to install pyqt5 dev tools
- Category
- Shell
- Title
- how to start a web server linux
- Category
- Shell
- Title
- install pandas conda
- Category
- Shell
- Title
- force git to use ssh
- Category
- Shell
- Title
- git reset specific file
- Category
- Shell
- Title
- local-gen install
- Category
- Shell
- Title
- gitlab download
- Category
- Shell
- Title
- react quill
- Category
- Shell
- Title
- pyaudio python 3.7
- Category
- Shell
- Title
- brew reinstall mysql
- Category
- Shell
- Title
- how to delete a non empty directory in linux
- Category
- Shell
- Title
- laravel lumen
- Category
- Shell
- Title
- uninstall node from linux debian
- Category
- Shell
- Title
- jq filter array
- Category
- Shell
- Title
- aws ssm agent installed but does not show in managed instances
- Category
- Shell
- Title
- numpy uninstall anaconda
- Category
- Shell
- Title
- how to install enzyme
- Category
- Shell
- Title
- npm run custom script
- Category
- Shell
- Title
- bash ls all subdirectories
- Category
- Shell
- Title
- linux merge two pdfs
- Category
- Shell
- Title
- run jar file command line
- Category
- Shell
- Title
- install poetry
- Category
- Shell
- Title
- linux compress a pdf
- Category
- Shell
- Title
- install mariadb-server rpm
- Category
- Shell
- Title
- Running modprobe bridge br_netfilter failed with message: ip: can't find device
- Category
- Shell
- Title
- git push crontab
- Category
- Shell
- Title
- [ErrorException] file_put_contents(./composer.json): failed to open stream: Permission denie d
- Category
- Shell
- Title
- nano edit a file
- Category
- Shell
- Title
- git log display files changed
- Category
- Shell
- Title
- linux screen brightness command line
- Category
- Shell
- Title
- hasura squashmigrations
- Category
- Shell
- Title
- grep ip address
- Category
- Shell
- Title
- WSL connect docker daemon to docker for windows
- Category
- Shell
- Title
- how to install tar.gz in ubuntu
- Category
- Shell
- Title
- serverless not using aws profile
- Category
- Shell
- Title
- ssh usage copy file
- Category
- Shell
- Title
- dotfiles
- Category
- Shell
- Title
- where is my .git config mac
- Category
- Shell
- Title
- git discard staged changes
- Category
- Shell
- Title
- how to push in git command line
- Category
- Shell
- Title
- react-devtools agent got no connection
- Category
- Shell
- Title
- create cat document ubuntu
- Category
- Shell
- Title
- grep ignore case
- Category
- Shell
- Title
- install maven homebrew
- Category
- Shell
- Title
- linux command line in windows 10
- Category
- Shell
- Title
- linux rename
- Category
- Shell
- Title
- how to uninstall rust
- Category
- Shell
- Title
- upgrade npm
- Category
- Shell