Skip to content

Instantly share code, notes, and snippets.

@kostasdizas
Last active December 22, 2015 00:19
Show Gist options
  • Save kostasdizas/6388220 to your computer and use it in GitHub Desktop.
Save kostasdizas/6388220 to your computer and use it in GitHub Desktop.
find all git repositories under /Users/ and import them to SourceTree
for folder in $(sudo find /Users -name ".git" -type d | sed 's#\(.*\)/.*#\1#' | sort -u); do
stree $folder;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment