Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Does Github offer an easy way to get to the first commit of a project? Traveling page by page back in time is time consuming (yeah, i did that)


sort by: page size:

I couldn't recall how I got started in open-source, so I've used GitHub API to find the very first pubic commit. Turns out it was some JavaScript based game, committed all mostly in one go.

I made the script available for others to use:

https://gitspo.com/gajus/first-commits

Replace "gajus" with your GitHub username to find your first commit.


Anyone know a good getting started with github pages article? Haven't used that feature before, and would like to read up on it tonight.

Aye, that's fair. I figured GitHub would just be a first step -- I just started archiving all this today.

You mean the one where an existing project with several years of history has its development tree imported into github as its first commit?

I remember the memcached project being announced, and I'm pretty sure it predated github by five years or more.


I'm a huge fan of drive-by commits. GitHub's web editor makes it really easy to correct a typo or add a two-line fix - and for many people that might be their first contribution to open-source, without the faff of downloading git etc.

offtopic: I love how with Github I can get to the source in just a few clicks. Its still a scavenger hunt with sourceforge.

that's the first thing he does on github?

I made this over the past hour and figured I'd submit it. My goal is to do at least one 30 day GitHub commit streak this year. I built this little app to remind me by email (towards the end of the day) when I don't already have commits for the day.

The killer GitHub feature for me is "browse files" at any commit in the past.

Sweet, and done. I had no idea GitHub has that as a feature.

I signed up for the Github commit one. We'll see how it goes, at least it can't hurt.

The thing I like the most about GitHub is that it puts the code first. You go to a web site, and you see these things, in roughly this order:

1. The code.

2. A descriptive readme, which GitHub has successfully trained people how to write.

3. Some miscellaneous buttons and stuff.

This definitely leads to a jump-in-and-hack approach, unlike project sites where you end up clicking through a bunch of crap to get to the code. On Google Code, for instance, you have to click on the Source tab, then a tiny link somewhere on the page, and the code browser isn't even that good.


I'm surprised Github integration isn't on their own roadmap. It would be killer to mark things as completed via commits and see code activity in one application.

One great thing that GitHub allows in this context is editing code files in the browser, and then GitHub stages and commits the file for you.

Damn!!! I have been coding for almost 20 years and google everything and never thought of searching github. I can't believe I have never thought of that. Thanks for the tip.

It's called GitHub pages

It is this exact realization, while looking for some of my old code, that first got me started using git and github.

I was trying to find an issue management system for doing “the perfect commit” and tried loads without thinking of GitHub issues, which is obviously the correct place to put things. Exciting to hear about GitHub projects too which sounds fantastic!

I would love to watch a day of programming by someone as prolific as Simon to see what other things he does to maintain speed and keep churning out code!


It's very simple to do this on Github.
next

Legal | privacy