shithub: bin.rc

Download patch

ref: 825c8db11139dbbb0d2ae87cc43949bcc64feef1
parent: 858601ce88f1dc0d9758d101fc7ac26cfcf1c2fb
author: kvik <[email protected]>
date: Sat Apr 18 20:40:55 EDT 2020

Add untracked(1); shows untracked files in a git repo

--- /dev/null
+++ b/bin/untracked
@@ -1,0 +1,7 @@
+#!/bin/rc
+## Find untracked files in a git repository
+
+@{	cd `{git/conf -r} &&
+	git/walk -c &&
+	walk -f | grep -v '^\.git'
+}| sort | uniq -u