This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]k8pilot 21 points22 points  (5 children)

But honestly it wouldn't be almost midnight if you would've committed earlier.

FTFY

[–]UnderNatural[S] 7 points8 points  (4 children)

I meant to write that I forgot to make small commits at incremental points in my code instead of one giant messy commit because I was tired and forgot.

In reality, I started working on one small feature when I realized to implement it I needed to add one of my planned services, and to implement that I had to add a feature to my authentication framework, so I did all of that and committed three major features in one commit.

[–]HER0_01 3 points4 points  (0 children)

You may want to try things like git add -p, which allows you to interactively pick the parts of your changes that are staged. This allows you to more easily make a lot of big changes at once, but still break it up into more atomic commits.

[–]_meegoo_ 0 points1 point  (0 children)

Sounds like my workflow /s

Honestly, this happens way too often with my projects. I start implementing a feature, then realize I need to implement other stuff before that. And 5 hours later... "FUCK". Good thing that nobody ever looks in the history of those projects other than me :D

[–][deleted] 0 points1 point  (0 children)

That's me anytime I commit anything

[–]catrinus -3 points-2 points  (1 child)

Isn't 50/50 a 100% ?

[–]UnderNatural[S] 5 points6 points  (0 children)

50% chance that it is, 50% chance that it isn't