Re:Pixel art for your Github contribution calendar
by karbin on Monday May 20, 2013 @09:35PM
(#5741373)
This is fantastic, sorry. For newb question but how do you do inject into guy history like this?
[ Parent
| on HN ]
Re:Pixel art for your Github contribution calendar
by tjbiddle on Monday May 20, 2013 @09:37PM
(#5741381)
Haven't done so myself - But you can edit a git commit's information (Such as author and date):
http://stackoverflow.com/questions/454734/how-can-one-change...
Edit: Haven't looked at the repo - But I'm assuming this is what's being done.
Re:Pixel art for your Github contribution calendar
by slaundy on Tuesday May 21, 2013 @12:45AM
(#5741956)
It's a Python script that takes in some options (which image, your github username, etc) and generates a bash script. Running the bash script actually makes the commits on the correct days to populate the pixels.
Re:Pixel art for your Github contribution calendar
by gelstudios on Tuesday May 21, 2013 @01:24AM
(#5742048)
luckily git takes both GIT_AUTHOR_DATE and GIT_COMMITTER_DATE as environment variables. This python script generates a bash script that sets a date and commit one line changes for every pixel that needs some gitfiti.