Answers for "delete remote git branches"


git remove remote

$ git remote -v
# View current remotes
> origin (fetch)
> origin (push)
> destination (fetch)
> destination (push)

$ git remote rm destination
# Remove remote
$ git remote -v
# Verify it's gone
> origin (fetch)
> origin (push)
Posted by: Guest on April-15-2020

git how to delete origin branch

$ git push origin --delete feature/login
Posted by: Guest on February-17-2020

delete remote git branch

git push --delete remoteName branchName
Posted by: Guest on March-14-2020

how to delete local master branch in git

git delete
Posted by: Guest on August-13-2020

delete local and remote branch github

git branch -d branch_namegit branch -D branch_name
Posted by: Guest on May-26-2020

How to Delete Local/Remote Git Branches

$ git branch -r | egrep -v -f /dev/fd/0  <(git branch -vv | grep origin) | xargs git branch -d
Posted by: Guest on August-21-2020

Code answers related to "delete remote git branches"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language