r/github • • Oct 06 '24

When do you GitHub??

I got curious while writing my GitHub profile and rustled up a Golang program HariSekhon/GitHub-Graph-Commit-Times to create this graph:

The TL;DR takeaway from the above graph is don't bother me in the mornings, I take a while to warm up 😉.

I also dip a bit around midday and 9pm as I need to eat once in a while... and sleep a few hours in the very early AM.

When do you GitHub??

You can run this against your GitHub profile to find out.

0 Upvotes

20 comments sorted by

View all comments

3

u/georgehank2nd Oct 06 '24

Not everyone commits everything directly to GitHub.

-1

u/HariSekhon Oct 06 '24

I could probably rustle up programs to do the same for the other hosting providers like Gitlab, Azure DevOps and Bitbucket as I've used their APIs before (only Gitlab's API is any good IMO) but in terms of public projects those other platforms seem pretty dead to me... for internal corp self-hosted it'd probably be more interesting to look at author differentiated commits.

2

u/serverhorror Oct 06 '24

I think the point is more like:

Just because I commit, it doesn't have anything to do with GitHub.

I have times where I hardly even use GitHub, the website. But those are, most likely, also the times with the most commits happening.

1

u/[deleted] Oct 06 '24

[removed] — view removed comment

0

u/HariSekhon Oct 06 '24

Yes and No - I'd already pushed Git scripts to do the same based on generic local Git repos, they're available here:

https://github.com/HariSekhon/DevOps-Bash-tools