septum-mec/scripts/git_push_batch

8 lines
87 B
Bash
Executable File

#!/bin/bash
for ((n=$1;n>0;n-=1))
do
git push origin HEAD~$n:master
done
git push