Hacker News new | ask | show | jobs
by jstx1 1024 days ago
I don’t get your git strategy - don’t you work with other people and have code reviews? And it’s not like branching means more things in progress - you can work on one dev/feature branch at a time.
3 comments

With or without others, it's not uncommon. Even in some big companies (Facebook and Google) teams use this:

https://www.abtasty.com/glossary/trunk-based-development/

I use trunk-based development too and it's not the same as avoiding branches and working on the main branch. With trunk-based you still do all of your work on a branch - the difference between trunked-based and gitflow is how long the side branches live and where releases happen from.
I work alone. Yes, it means mostly working on a single thing, with only a few minor commits in between.
I have a similar workflow. I’m the only programmer in my office and just use git to make my life easier.