Skip to content

Instantly share code, notes, and snippets.

@lionelyoung
Created August 5, 2010 04:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lionelyoung/509226 to your computer and use it in GitHub Desktop.
Save lionelyoung/509226 to your computer and use it in GitHub Desktop.
#!/usr/bin/bash
echo "Untracked Projects:"
echo "-------------------"
for i in *
do
if [ -d $i ]; then
if ! [ -d $i/.git ]; then
echo $i
fi
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment