Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't get it. According to the github history there was a hello world commit in 1972, conversion to C in 1974, conversion to ansi-c in 1988, then the next commit was the first go specification in 2008.

Git was written in 2005.

What did these hello world commits have to do with go? Why are they in the git history?



It's a joke.

It's a joke basically saying "First, there was B, and it looked like this. Then, there was C, and it looked like this. Finally, there was Go, a new evolution of our work".

The git dates were clearly faked and created entirely for the purpose of this joke.

If you wanna know how to edit dates, this blog does a slightly better job than the `git-commit` man page: https://alexpeattie.com/blog/working-with-dates-in-git#chang...


Too bad Go is not a C replacement, if anything it would be Rust.


It's a spiritual successor by the same "good old boys" club of Rob Pike, Ken Thompson, etc though.


This is the first "Hello World" program, written in 1972 by Brian Kernighan, in the "B" language.

I guess they decided to include a history of "Hello World" as the path to Go.

See https://en.wikipedia.org/wiki/%22Hello,_World!%22_program#Hi...


> According to the github history there was a hello world commit in 1972

> Git was written in 2005.

Not sure about this specific case, but it isn't uncommon to migrate from another version control system (e.g. Subversion) to Git while maintaining the past history.


Subversion was (to my surprise) only released in 2000, so you'd have to migrate from something even older -- perhaps CVS (released in 1990)? RCS was released in 1982, so you might have migrated from that. SCCS was released in 1972, so they MIGHT have used it, and kept those migrations going. But my guess is they fudged the git history as some weird type of historical documentation of where these languages came from?


My oldest photo in Google Photos is from 1994.

My oldest email in Gmail is from 1996.

My oldest file in Google Drive is from 1998.

All of which pre-date their current storage (and some of which pre-date the company that created the current storage).

None of which is as important as anything in a VCS in terms of wanting to keep history intact.

BTW: If any Google engineer is present: Gmail search over mail older than a decade is terrible. Just terrible.


Well, if it was migrated to Subversion from CVS on the day Subversion came out, that gets us back to 2000.

If it was migrated to CVS from RCS on the day CVS was released, that gets us back to 1986.

If it was migrated to RCS from SCCS on the day RCS came out, that gets us back to 1982.

SCCS showed up in 1972, just in time for this commit.


I have projects on github older than git thanks to cvs2git and svn2git. They can convert history:

https://github.com/sumdog/MplayerBuddy


I guess they just edited the dates for fun.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: