mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17:49 +00:00
12 lines
259 B
Fish
12 lines
259 B
Fish
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
|