2 ms·
> 8. git branch [branchname] -D : delete branch if not tracked Dangerous advice there. Use the lower-case '-d' option. It'll tell you that you maybe don't want
by TobTobXX 5y ago
> 8. git branch [branchname] -D : delete branch if not tracked
Dangerous advice there. Use the lower-case '-d' option. It'll tell you that you maybe don't want to delete the branch when it has unmerged commits.
If you really want to delete the branch then, the output of `git branch -d` tells you this option.