What is Nostr?
sommerfeld
npub16r0…z5pl
2024-08-19 08:32:34
in reply to nevent1q…4h95

sommerfeld on Nostr: Always start a new feature branch by always branching off origin/master using `git ...

Always start a new feature branch by always branching off origin/master using `git switch -c feature/branch origin/master` (previous git fetch required obviously).

Then after pushing it remotely, reviewal and approval, you can merge it directly to origin/master or, if your repo policy is avoiding merges, you can push the feature branch directly to origin/master using `git push feature/branch: master`

You don't ever really need to have a 'local master'
Author Public Key
npub16r0tl8a39hhcrapa03559xahsjqj4s0y6t2n5gpdk64v06jtgekqdkz5pl