shithub: rc

ref: c15ee6ec46cb3d85112715f9dffc424f2810562c
dir: /bin/gw/

View raw version
#!/bin/rc
rfork n
while(! walk -dn1,1 | grep '\.git$' >/dev/null && ! ~ `{pwd} /)
	cd ..
if(~ `{pwd} /){
	echo no git to hand >[1=2]
	exit
}
git/fs && git/walk -fMAR