logoalt Hacker News

bob1029yesterday at 4:44 PM4 repliesview on HN

I also use this as a simple heuristic:

https://github.com/nkuntz1934/matrix-workers/commits/main/

There exist only two commits. I've never seen a "real" project that looks like this.


Replies

victorbjorklundyesterday at 5:12 PM

To be honest sometimes on my hobby project I don’t commit anything in the beginning (I know not great strategy) and then just dump everything in one large commit.

show 1 reply
InsideOutSantayesterday at 5:39 PM

I think that's a reasonable heuristic, but I have projects where I primarily commit to an internal Gitea instance, and then sometimes commit to a public GitHub repo. I don't want people to see me stumbling around in my own code until I think it's somewhat clean.

show 1 reply
biohazard2yesterday at 4:50 PM

The repository is less than one week old though; having only the initial commit wouldn't shock me right away.

show 2 replies
Hamukoyesterday at 8:13 PM

I might just make dummy commits ("asdadasdassadas") in the prototyping phase and then just squash everything to an "Initial commit" afterwards.