Make your GitHub history back to 1969.
(1970 actually, but in boorgarland it shows as 1969 because of the time difference)
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
if you have SSH already setup locally, all you need is to copy your repo link and you're done :-)
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 :)
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
- Your local Git commit email isn't connected to your github account, you must add the email address to your account on GitHub.
- Commit was made less than 24 hours ago
- More infomation here Common reasons that contributions are not counted
3. GitHub history changed but display unexpected when scroll