VP of DevRel RapidAPI ❯ Award-winning Web Developer NodeCLI.com ❯ Google Dev Expert Web tech ❯ 2x GitHub Stars Award ❯ WordPress Core Dev ❯ TEDx Speaker ❯ "awesome example for devs" — Satya Nadella
Location
San Francisco Bay Area
Education
EE-CS Engineer turned Software Developer
Work
VP of DevRel (DX Eng., Content & Community) RapidAPI ❯ Google Dev Expert ❯ GitHub Star ❯ NodeCLI.com
Nice tip!
Any reason for using force to delete local branch though (
git branch -D "$1"
, the d is majuscule)?I think it'd be safer to use
git branch -d "$1"
Thanks.
I think that's because it avoids the message of the branch not being merged?
Yes, so that means you lose your code (hence the force).