20

I am currently working on a small project, and I am working on getting it functional, but I question when exactly should I make commits. I usually just do it when I am done with working on it, but I know in practical projects often times commits are for one specific thing but given the project does not even work yet what exactly do I do.

you are viewing a single comment's thread
view the rest of the comments
[-] skymtf@pricefield.org 1 points 1 year ago

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.

this post was submitted on 26 Aug 2023
20 points (100.0% liked)

Transprogrammer

830 readers
1 users here now

A space for trans people who code

Matrix Space:

Rules:

founded 1 year ago
MODERATORS