Forked from Nyholm/gist:25abd12b23ca6e8324a9b920687a4fa2
Created
May 23, 2017 14:33
-
-
Save jenkoian/5a8eeb1345bd9d5267e2447ac472bdac to your computer and use it in GitHub Desktop.
See if I have code in your app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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