See original repo.
contents
Make your contributor graph say Abolish ICE:
Run yarn
to install deps.
- Make any changes you want to persist between runs to the
develop
branch. If you commit them tomain
, they will get wiped the next time you reset and paint your graph! - Run reset.js to reset the
main
branch - Run paint.sh to paint your contributions graph anew
Note that even if you've never run this before, you'll need to run reset first to generate the dates for the paint script.
git checkout main
node reset.js [--verbose]
./paint.sh
Fair warning: ./paint.sh
may take 10-15 minutes to run.
If you want to calculate new dates but handle the reset yourself -- common if you want to use branch delete instead of reset HEAD -- run instead as:
git checkout develop
node reset.js --calc
git branch -D main
git checkout -b main
./paint.sh
git push -f
See the guide on which contributions count. Specifically, make sure:
- The repository you run paint.sh in is not a fork.
- You run it on the default branch of your repository.
If you're running it again and GH isn't updating your contributions graph, try changing your default branch a couple times -- away from its current default and then back again. Sometimes GH needs that extra little kick to change the graph.
The script needs to generate many more commits than your busiest days to make a loud and clear statement. The $I
variable determines the number of commits. If your graph does not turn a crisp, dark green "ABOLISH ICE,"" try increasing $I
.
Shadow forked from rossabaker/abolish-ice-graphiti, which was bootstrapped from github-graffiti.