Skip to main content

Feature

AndyBinOriginalLess than 1 minute

Conclusion

Forcibly delete the branch (will lose the changes on the branch)

git branch -D <name>

Caption

To develop a new feature, it is best to create a new branch;

If you want to discard a branch that has not been merged, you can forcefully delete it with git branch -D <name>.

Last update:
Contributors: rumosky
Comments
  • Latest
  • Oldest
  • Hottest