git remove branch
Shell
// delete branch locally
git branch -d localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
git branch -d <branch_name>//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 remoteBranchName// delete branch locally
git branch -d localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
// refresh branch list
git fetch -p## 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
- get git username and email
- Category
- Shell
- Title
- set feh wallpaper
- Category
- Shell
- Title
- git command to create a branch from another branch
- Category
- Shell
- Title
- linux check used space in folder
- Category
- Shell
- Title
- how to get the size of directory in linux
- Category
- Shell
- Title
- How do I show the changes which have been staged
- Category
- Shell
- Title
- Run a command in the background witch automatically rerun Raw
- Category
- Shell
- Title
- install numpy
- Category
- Shell
- Title
- install deno
- Category
- Shell
- Title
- npm list global packages
- Category
- Shell
- Title
- matplotlib change he yticks to two number after digit
- Category
- Shell
- Title
- exit telnet
- Category
- Shell
- Title
- customize bash prompt
- Category
- Shell
- Title
- disable monitor on boot linux
- Category
- Shell
- Title
- bash endless loop
- Category
- Shell
- Title
- long term projects for java learners
- Category
- Shell
- Title
- configure samba on RPI
- Category
- Shell
- Title
- install chromedriver linux command line
- Category
- Shell
- Title
- how to check installed packages in linux command
- Category
- Shell
- Title
- date command in linux
- Category
- Shell
- Title
- install mongodb on mac
- Category
- Shell
- Title
- which desktop environment is runnings
- Category
- Shell
- Title
- python virtualenv
- Category
- Shell
- Title
- extract tar.gz ubuntu terminal
- Category
- Shell
- Title
- how to upload on github with command
- Category
- Shell
- Title
- linux find file containing text
- Category
- Shell
- Title
- how to fix the errors in chokidar in linux
- Category
- Shell
- Title
- bootstrap node install
- Category
- Shell
- Title
- how to perform mathematical operations in shell script
- Category
- Shell
- Title
- android_home ubuntu
- Category
- Shell
- Title
- increase open file limit linux mac catalina mariadb
- Category
- Shell
- Title
- ubuntu delete all files with extension
- Category
- Shell
- Title
- remove directory linux
- Category
- Shell
- Title
- linux screen brightness command line
- Category
- Shell
- Title
- install ip addr on ubuntu
- Category
- Shell
- Title
- angular add service worker
- Category
- Shell
- Title
- create github repo with curl
- Category
- Shell
- Title
- change remote to use ssh git command
- Category
- Shell
- Title
- stop elasticsearch node
- Category
- Shell
- Title
- count occurrences of word in file linux
- Category
- Shell
- Title
- how to copy ssh key
- Category
- Shell
- Title
- git find login
- Category
- Shell
- Title
- mvn clean install skip test
- Category
- Shell
- Title
- ubuntu storage check stackoverflow
- Category
- Shell
- Title
- bash grep and sort
- Category
- Shell
- Title
- /usr/local/share/doc/node is not writable.
- Category
- Shell
- Title
- cmd delete folder
- Category
- Shell
- Title
- qpdf decrypt with password
- Category
- Shell
- Title
- connect to windows 10 remote desktop from ubuntu
- Category
- Shell
- Title
- change git commit message
- Category
- Shell
- Title
- how to get divided number in mac terminal
- Category
- Shell
- Title
- delete local branch git
- Category
- Shell
- Title
- how to revert back to previous commit in git permanently
- Category
- Shell
- Title
- special bash variables
- Category
- Shell
- Title
- how to kill tasks using grep
- Category
- Shell
- Title
- delete a github repository using curl
- Category
- Shell
- Title
- install tensorflow
- Category
- Shell
- Title
- How to find your ip on debian linux wsl
- Category
- Shell
- Title
- unable to install deno in ubuntu
- Category
- Shell
- Title
- crop video from specific time to specific time ffmpeg
- Category
- Shell
- Title
- install pgcli linux
- Category
- Shell
- Title
- install node 12 linux terminal w10
- Category
- Shell
- Title
- ogv to gif linux
- Category
- Shell
- Title
- edit default port for linux server
- Category
- Shell
- Title
- how to kill a process in linux
- Category
- Shell
- Title
- ubuntu bionic docker container install chrome
- Category
- Shell
- Title
- git add commit in one command
- Category
- Shell
- Title
- git delete stash
- Category
- Shell
- Title
- pyaudio python 3.7
- Category
- Shell
- Title
- git change remote origin address
- Category
- Shell
- Title
- remove yum package
- Category
- Shell
- Title
- install adminlte in laravel
- Category
- Shell
- Title
- powershell map array
- Category
- Shell
- Title
- linux remove folder and all his content
- Category
- Shell
- Title
- git reset hard
- Category
- Shell
- Title
- copy folder from s3 to local
- Category
- Shell
- Title
- react navigation install
- Category
- Shell
- Title
- git clone repo with name
- Category
- Shell
- Title
- grep command
- Category
- Shell
- Title
- install vuex
- Category
- Shell
- Title
- task manager ubuntu
- Category
- Shell
- Title
- install pyenv
- Category
- Shell
- Title
- how to install gatsby gatsby-plugin-manifest
- Category
- Shell
- Title
- pip install from requirements.txt
- Category
- Shell
- Title
- julia install linux
- Category
- Shell
- Title
- what is git rebase
- Category
- Shell
- Title
- delete git origin
- Category
- Shell
- Title
- powershell script to copy mutliple files into a single file
- Category
- Shell
- Title
- cordova ios 5.1.0
- Category
- Shell
- Title
- corewar 42 github
- Category
- Shell
- Title
- install redis
- Category
- Shell
- Title
- how to install dataloader
- Category
- Shell
- Title
- install babel language
- Category
- Shell
- Title
- pip install tinymce
- Category
- Shell
- Title
- npm install react
- Category
- Shell
- Title
- apt get install docker compose
- Category
- Shell
- Title
- bash compare two strings
- Category
- Shell
- Title
- how to use gitignore to ignore a folder
- Category
- Shell
- Title
- bash get field from line
- Category
- Shell
- Title
- bash write
- Category
- Shell