this post was submitted on 25 Feb 2024
959 points (98.1% liked)
Programmer Humor
32443 readers
805 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The test release shouldn't have anything marked with
@nocommit
though... The idea is that you use it to mark code that is only temporary local debugging code that should never be committed.Are you committing to
master
? I don't see any reason why you shouldn't commit your debugging code to your own branch. Obviously clean it up before mergingMy workplace uses feature flags rather than feature branches, and a continuous deployment cycle, so we only have one branch.