Created
September 25, 2017 21:27
-
-
Save mthadley/df61ae49b03ab74c18422d2b60bf355d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
COUNT="20000" | |
INTERVAL="2000" | |
while [[ $COUNT -gt 0 ]]; do | |
echo "Pushing ${COUNT}" | |
git push origin HEAD~"$COUNT" | |
COUNT=$(($COUNT - $INTERVAL)) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment