This project aims to backdate Git/GitHub commits to a past date, allowing us to commit to GitHub and perform specific figures or be artisian in the github activity graph.
git commit --date='1999-10-31'- Add the Github Access Token from here and put in .env
- Type username and year, you would like to paint.
- Paint the graph with click(s)
- Press Download button, initiates the backdates.json file.
- Run the program
./backdate --json ~/Downloads/backdates.json --repo ~/Downloads/hello--json flag can be omitted but that is the default file and path. Since, the file will be downloaded with the given name and in that location. Unless, default is changed or if there are multiple downloads of same file which will make incremented filenames.
./backdate depend on the output binary, choose by the below information in distribution.
- Repo has the necessary commit, push it to your github/gitlab to see contributions.
Note: didn't compile the go code for reasons, got to have GO in your system.
- Linux
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o backdate-linux- macOS (Intel)
GOOS=darwin GOARCH=amd64 go build -o backdate-macos
- macOS (Apple Silicon)
GOOS=darwin GOARCH=arm64 go build -o backdate-macos-arm- Windows
GOOS=windows GOARCH=amd64 go build -o backdate.exe