41
u/HLingonberry Jul 25 '24 edited Jul 25 '24
Sure you can commit fake metadata, but looking at the repo in OPs post, the code is likely that old and has been converted from a CVS or SVN repo before git, thus the metadata is actually correct even if it wasn’t hosted in git/GitHub at that time.
10
u/drawkbox Jul 25 '24
converted from a CVS or SVN repo before git
SVN came out in 1995
Concurrent Versions System (CVS) was 1990
I am with you, probably a project from SVN right at inception or maybe CVS.
SVN was such an improvement over CVS.
Pour some out for the homies that needed to use Visual Source Safe (VSS). On a random Tuesday the index corrupts and there goes the code.
8
6
u/enisn Jul 25 '24
I can even push a commit from back to 1970. Why it should be weird? GitHub doesn't have any validation for commits, you can push whatever you want. If you create a commit locally, then you can push exactly the same to GitHub
2
Jul 25 '24 edited Jul 25 '24
Check this one out lol https://github.com/narad-muni/future Never messed with it but maybe setting the machine time to the past and committing with Git can do that
2
u/Gullible_Method_3780 Jul 25 '24
You can even write small programs to create commits for past days and current days to fill out your heat map. If that’s your thing.
1
u/Ender-Wang Jul 25 '24
Can we use SSH for signing in vscode? Still not?
1
154
u/[deleted] Jul 25 '24
GitHub doesn't verify commit metadata. You can even put other people's email and name.
Which is why you should sign your commits :)