19

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
[-] stinky613 3 points 1 year ago

I believe that best practices are to commit locally whenever you want (generally any time you don't want to lose what you've done so far) but then do an interactive rebase to make your commits more coherent and more encapsulated before you make a pull request to get them merged into the branch on origin

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

Transprogrammer

797 readers
1 users here now

A space for trans people who code

Matrix Space:

Rules:

founded 1 year ago
MODERATORS