Plan 9 from Bell Labs’s /usr/web/sources/contrib/yk/root/sys/src/cmd/git/test/rebase.rc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/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

	git/branch front-test
	git/rebase front | rc
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.