File: git_rebase_theme_branches.sh

package info (click to toggle)
sphinx-panels 0.6.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 896 kB
  • sloc: python: 1,042; xml: 60; makefile: 23; sh: 16
file content (13 lines) | stat: -rwxr-xr-x 218 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

fmt='
git checkout %(refname)
git rebase master
git push origin HEAD:%(refname:strip=3) --force
'

eval "$(git for-each-ref --shell --format="$fmt" refs/remotes/origin/*-theme)"

git checkout master