About 129,000 results
Open links in new tab
  1. How do I delete a Git branch locally and remotely?

    Jan 5, 2010 · Don't forget to do a git fetch --all --prune on other machines after deleting the remote branch on the server. ||| After deleting the local branch with git branch -d and deleting …

  2. github - How can I remove a Git branch locally? - Stack Overflow

    There are questions on here about how to delete branches locally and remotely, but I haven't been able to find out how to only delete a branch locally. One answer said to use this: git …

  3. Automatically delete git branch after merge to master

    Github has released a feature where anyone with admin permission to the repository can configure branches to get deleted automatically after pull requests are merged. Here are the …

  4. How can I delete the HEAD branch on a remote Git repository?

    Jul 13, 2014 · Are you using GitHub as a remote? Then you can switch the default branch in the settings of the repository and afterwards git push origin :master to delete the master branch …

  5. How do I delete a branch from GitHub? - Stack Overflow

    Apr 25, 2012 · 16 You want to delete a branch on github? Just do $ git push origin :branch-name where you have to substitute origin with the name of the remote repository and branch-name …

  6. How do I delete all Git branches which have been merged?

    More recent question How can I delete all git branches which have been “Squash and Merge” via GitHub?, because "squashing and merging" was not available when this question was asked.

  7. git - How to remove branches already deleted on GitHub that still …

    In VS Code, after I do a pull request and delete the branch on GitHub, that branch still shows up in Visual Studio Code. If I select the branch, it gives an Error, as expected. How do I remove …

  8. github - When to delete branches in Git? - Stack Overflow

    One of my reasons to wanting to delete branches is:We do a lot of changes in branches (actually, all changes) so eventually you get a long list when using the command 'git branch'. For the …

  9. github - Como excluir um ramo (branch) do Git local e remoto?

    May 5, 2015 · Eu quero apagar um branch local e no meu projeto remoto no GitHub.

  10. How to delete a git working tree branch when its working …

    May 22, 2017 · You are using git worktree, so the answer is in the git worktree documentation: When you are done with a linked working tree you can simply delete it. The working tree’s …