Skip to content

Instantly share code, notes, and snippets.

@tomaszprasolek
Created January 9, 2019 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomaszprasolek/25fb4fb0b763e7276164af1dfead2585 to your computer and use it in GitHub Desktop.
Save tomaszprasolek/25fb4fb0b763e7276164af1dfead2585 to your computer and use it in GitHub Desktop.
Create 5 empty commits with passed message. For test purposes only.
#!/bin/bash
for i in {1..5}
do
git commit -m "$1 $i" --allow-empty
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment