☰
Debian Codegraph
@
0.7.0-5
0.7.0-3
/
/
git_rebase_theme_branches.sh
☽
☼
git_rebase_theme_branches.sh
code
plain
raw
MIT
2021-2023 Chris Sewell <
[email protected]
>
debian/copyright
1
#!/bin/sh
2
3
set -e
4
5
fmt='
6
git checkout %(refname)
7
git rebase main
8
git push origin HEAD:%(refname:strip=3) --force
9
'
10
11
eval "$(git for-each-ref --shell --format="$fmt" refs/remotes/origin/*-theme)"
12
13
git checkout main