mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Add scripts for updating the post-XX branches
This commit is contained in:
11
scripts/push.fish
Normal file
11
scripts/push.fish
Normal 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
|
||||
Reference in New Issue
Block a user