Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Nyholm
Created May 23, 2017 12:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Nyholm/25abd12b23ca6e8324a9b920687a4fa2 to your computer and use it in GitHub Desktop.
Save Nyholm/25abd12b23ca6e8324a9b920687a4fa2 to your computer and use it in GitHub Desktop.
See if I have code in your app
echo "Remove vendor folder"
rm -rf ./vendor/*
echo "Get all vendors again but with the .git folder
composer install --prefer-source
echo "Find a list of all repositories Tobias Nyholm has contributed to
find . -name .git -type d -prune -exec bash -c "cd '{}' && git shortlog -snc | grep 'Tobias Nyholm' > /dev/null && echo '{}' " \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment