septum-mec/scripts/git_push_batch

8 lines
87 B
Plaintext
Raw Permalink Normal View History

2019-10-08 14:00:28 +00:00
#!/bin/bash
for ((n=$1;n>0;n-=1))
do
git push origin HEAD~$n:master
done
git push