Skip to content

Make your GitHub history back to 1969

Notifications You must be signed in to change notification settings

XueMeijing/1969-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

1969

Make your GitHub history back to 1969.
(1970 actually, but in boorgarland it shows as 1969 because of the time difference)

image

Travel Back

Copy index.sh content to your local, and run the shell (Time zone related, current is Beijing Time)

sh index.sh

Step 0: Create a new repo on GitHub.

Step 1: Select your preferred authentication method

Screenshot 2022-11-29 at 3 43 58 AM

if you have SSH already setup locally, all you need is to copy your repo link and you're done :-)

Screenshot 2022-11-29 at 3 49 15 AM

Otherwise, if you chose HTTPS, you will need to Generate a personal access token on GitHub and copypaste it.

Then enter you GitHub username and name of your new repository and you are done :)

Q&A:

1. Error occured: badDateOverflow: invalid author/committer line - date causes integer overflow

  • Make sure your time exceeds Unix time 1970-01-01T00:00:00Z
  • Change index.sh content GIT_AUTHOR_DATE and GIT_COMMITTER_DATE to your local zone, for example Beijing time zone is +0800, so GIT_AUTHOR_DATE is "${YEAR}-01-01T08:00:00"

2. Commit succeeded but gitHub history didn't change

3. GitHub history changed but display unexpected when scroll

  • Select Activity overview mode then it will display smoothly when scroll image

About

Make your GitHub history back to 1969

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%