Skip to content

Instantly share code, notes, and snippets.

@Thomashighbaugh
Created June 1, 2024 11:27
Show Gist options
  • Save Thomashighbaugh/6f60908a7b848a57edb265e9951c9862 to your computer and use it in GitHub Desktop.
Save Thomashighbaugh/6f60908a7b848a57edb265e9951c9862 to your computer and use it in GitHub Desktop.
A quick bash script that populates each day with several git commits to keep your activity feed looking its fullest.
#!/usr/bin/env bash
TODAY=$(date)
export TODAY
echo "Let's fake us some funk shall we?"
npx fake-git-history my-history
cd my-history || echo "my-history doesn't exist! Failure" && exit
git checkout -b "$TODAY"
git remote add origin https://github.com/Thomashighbaugh/my_history
git push --set-upstream origin "$TODAY"
echo "All Done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment