shithub: front

ref: 1454ec6425d0cc4f06f54d49df4b723a2f2fab1a
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
	git/init
	touch a
	git/add a
	git/commit -m 'add a' a
	rm a
	mkdir a
	touch a/b

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