this post was submitted on 26 Aug 2023
20 points (100.0% liked)
Transprogrammer
823 readers
1 users here now
A space for trans people who code
Matrix Space:
- #transprog:socki.moe
Rules:
- Don't be a meanie
- no *ism
- consider the feelings of somebody who might read what you say
- Don't shitpost
- Keep it wholesome
- Must be trans / programming related
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
For my team, we create branches off of dev to start working on a specific feature. It’s really up to the dev how often they commit to that branch but I recommend often to prevent losing any work. Once the feature is done we merge the branch to dev and roll all of the commits into one so looking at the history on dev, each commit represents 1 feature.
for me at this moment I don't think branches are super relevant to me at the moment since the project does not yet function. I feel like it will function by next commit. also one question I have about dev branches is that how is it that I can compile and use the dev branch on some projects,, like how do they work on code that is not yet functional and would break compiling the software until it is completed.
Oh yeah so our project is well established so different situation.
The feature branches are small complete pieces and they shouldn’t be breaking dev.
If this is a personal project, just commit whenever you want. At least when you’re finished working so you don’t lose your work.