Created
January 23, 2012 23:29
-
-
Save devth/1666368 to your computer and use it in GitHub Desktop.
Useful when experimenting with git features in a test repo.
This file contains 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
# create <n> dummy timestamp commits for git testing | |
# usage: gcn <n> | |
function gcn() { | |
for (( i=1; i<= $1; i++ )) | |
do | |
echo `date` >> timestamp | |
git add -A | |
git commit -m "`date`" | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment