ref: 57c8dea5ec7a56ef5ae4e6e816fd40a3e6f23c79
dir: /sys/src/cmd/git/test/rebase.rc/
#!/bin/rc
. ./util.rc
rm -fr scratch
mkdir scratch
echo @@ rebase test @@
@{
	cd scratch
	q git/init
	q echo a >a; git/add a; git/commit -m a a
	q git/branch -n front-test
	echo c >c;
	q git/add c
	q git/commit -m c c
	q git/branch front
	echo b >b;
	q git/add b
	q git/commit -m b b
	q git/branch front-test
	q git/rebase front
}