delete branch git
Shell
// delete branch locally
git branch -d localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
// delete branch locally
git branch -d localBranchName
//delete local branch that is unmerged
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 :serverfixgit branch -d <branch_name>## 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$ git push <remote_name> :<branch_name>
Also in Shell:
- Title
- docker remove image
- Category
- Shell
- Title
- linux df -h levels occupy
- Category
- Shell
- Title
- how to zip a file in linux
- Category
- Shell
- Title
- ubuntu activate venv
- Category
- Shell
- Title
- bash: zipalign: command not found
- Category
- Shell
- Title
- check ubuntu version cmd
- Category
- Shell
- Title
- how to install emotion in gatsby
- Category
- Shell
- Title
- install node on ubuntu
- Category
- Shell
- Title
- install jupyter notebook
- Category
- Shell
- Title
- install signal desk
- Category
- Shell
- Title
- install mongodb on mac
- Category
- Shell
- Title
- codepush get keys
- Category
- Shell
- Title
- git remove tag from remote
- Category
- Shell
- Title
- how to see the commit history in git
- Category
- Shell
- Title
- store result of command in variable bash
- Category
- Shell
- Title
- install bootstrap 4 npm
- Category
- Shell
- Title
- git SSL certificate problem: certificate has expired
- Category
- Shell
- Title
- powershell script enable tls 1.2
- Category
- Shell
- Title
- git push repo
- Category
- Shell
- Title
- how to find installed packages in ubuntu
- Category
- Shell
- Title
- uninstall webpack globally
- Category
- Shell
- Title
- check ram memory usage linux
- Category
- Shell
- Title
- how to install yum uitls
- Category
- Shell
- Title
- bash endless loop
- Category
- Shell
- Title
- vieuw the MOTD linux
- Category
- Shell
- Title
- install ubuntu gui on wsl
- Category
- Shell
- Title
- why cant i add some applications to favourite in ubuntu
- Category
- Shell
- Title
- how to change dotnet version
- Category
- Shell
- Title
- git reset
- Category
- Shell
- Title
- random in mac terminal
- Category
- Shell
- Title
- remove all iptables rules
- Category
- Shell
- Title
- bash linux scripting laguage
- Category
- Shell
- Title
- list of files in git commit
- Category
- Shell
- Title
- create github repo without browser
- Category
- Shell
- Title
- bash rename file
- Category
- Shell
- Title
- bash tee stdout and stderr
- Category
- Shell
- Title
- git change git commit date
- Category
- Shell
- Title
- ignore .DS_store when uploading to s3 using shell
- Category
- Shell
- Title
- git push set upstream
- Category
- Shell
- Title
- optional argument bash
- Category
- Shell
- Title
- import jar file
- Category
- Shell
- Title
- exa ls command
- Category
- Shell
- Title
- how to save any changes in vi editor
- Category
- Shell
- Title
- search for files in linux terminal
- Category
- Shell
- Title
- install sl
- Category
- Shell
- Title
- extract tar.gz ubuntu terminal
- Category
- Shell
- Title
- linux screen brightness command line
- Category
- Shell
- Title
- linux find file containing text
- Category
- Shell
- Title
- edit files from terminal linux
- Category
- Shell
- Title
- unarchive tar acrhive
- Category
- Shell
- Title
- how to rename working directory in linux
- Category
- Shell
- Title
- exit telnet
- Category
- Shell
- Title
- resolv conf linux is being overwritten centos 7
- Category
- Shell
- Title
- react-easy-crop install
- Category
- Shell
- Title
- linux grep
- Category
- Shell
- Title
- grep ip address
- Category
- Shell
- Title
- gulp-gzip
- Category
- Shell
- Title
- git list config
- Category
- Shell
- Title
- vim compare 2 files
- Category
- Shell
- Title
- run specific script with an other user linux
- Category
- Shell
- Title
- gparted ubuntu
- Category
- Shell
- Title
- angular add service worker
- Category
- Shell
- Title
- git grep across all branches
- Category
- Shell
- Title
- how to find the path of a command in linux
- Category
- Shell
- Title
- Error: Node Sass does not yet support your current environment
- Category
- Shell
- Title
- install webpack
- Category
- Shell
- Title
- find out a branch a parent branch git
- Category
- Shell
- Title
- install pipenv in ubuntu
- Category
- Shell
- Title
- could not connect to server: Connection refused Is the server running on host and accepting TCP/IP connections on port 5432?
- Category
- Shell
- Title
- git pull onbly submodule
- Category
- Shell
- Title
- sh increment variable
- Category
- Shell
- Title
- install chromedriver linux command line
- Category
- Shell
- Title
- linux convert png favicon
- Category
- Shell
- Title
- install node js ubuntu
- Category
- Shell
- Title
- how to use sass in react without eject
- Category
- Shell
- Title
- check running process in linux
- Category
- Shell
- Title
- install tensorflow
- Category
- Shell
- Title
- not reinstalling packages on docker build
- Category
- Shell
- Title
- git remove branch
- Category
- Shell
- Title
- install zsh debian
- Category
- Shell
- Title
- pip install upgrade all
- Category
- Shell
- Title
- como agregar angular material al proyecto
- Category
- Shell
- Title
- bash delete file
- Category
- Shell
- Title
- bash if statement
- Category
- Shell
- Title
- shell file in linux
- Category
- Shell
- Title
- delete a deployment in kubernetes
- Category
- Shell
- Title
- npm list global packages
- Category
- Shell
- Title
- install vuex
- Category
- Shell
- Title
- navigate to a directory linux
- Category
- Shell
- Title
- clipboard in ubuntu
- Category
- Shell
- Title
- how to uninstall react native cli globally
- Category
- Shell
- Title
- wheres i3 config file
- Category
- Shell
- Title
- how to check upstream git
- Category
- Shell
- Title
- windows 10 direct inbound port to another device
- Category
- Shell
- Title
- passport deploy to server
- Category
- Shell
- Title
- Add line break to 'git commit -m' from the command line
- Category
- Shell
- Title
- linux check used space in folder
- Category
- Shell
- Title
- special bash variables
- Category
- Shell
- Title
- gatsby-plugin-typography
- Category
- Shell
- Title
- how to remove installation from cent os
- Category
- Shell