Add scripts for updating the post-XX branches

This commit is contained in:
Philipp Oppermann
2019-02-25 18:59:11 +01:00
parent c1428d92d5
commit 4fc9f569e2
2 changed files with 23 additions and 0 deletions

11
scripts/push.fish Normal file
View File

@@ -0,0 +1,11 @@
set original (git rev-parse --abbrev-ref HEAD)
set list
for x in (seq 99)
set current (printf "post-%02i" $x)
if not git checkout $current --quiet
break
end
set list $list $current
end
git push origin $list
git checkout $original --quiet