shithub: front

ref: 8cc080311f65c04eb2f7e4fff5b0c4ab4133847c
dir: /sys/src/cmd/git/test/noam.rc/

View raw version
#!/bin/rc

. util.rc

rm -fr scratch
mkdir -p scratch/noam

echo @@ noam test @@
@{
	cd scratch/noam
	q git/init
	touch a
	q git/add a
	q git/commit -m 'add a' a
	rm a
	mkdir a
	touch a/b

	q git/add a/b
	q git/commit -m 'switch to folder' a a/b
}