shithub: front

ref: 0a6bcc7b83d9b5fac12229cac57207b9dc91ba2f
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
}