delete local branch git
// 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:
- find npm version
- bash string starts with
- checking for existing ssh keys
- linux how to see directory data usage
- Não é possível excluir uma partição protegida sem o parâmetro de proteção forçada definido.
- start mongodb service ubuntu
- how to make a tarball in linux
- git pull hard
- powershell get arguments
- shutdown timer windows 10
- matplotlib change he yticks to two number after digit
- ubuntu crop pdf
- copy folders linux
- how to manage github repository
- ogv to gif linux
- ffmpeg
- linux find file
- crop video from specific time to specific time ffmpeg
- install pip on raspberry pi
- laravel create model and migration
- copy contents of multiple files to one file powershell
- cordova ios 5.1.0
- how to reset git branch to a certain commit.
- git fklow init