Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
for DIRECTORY in */;
pushd "${DIRECTORY}"
echo "${DIRECTORY}" >> ../git-remote.txt
echo "===================================================================" >> ../git-remote.txt
git remote -v >> ../git-remote.txt
echo "-------------------------------------------------------------------" >> ../git-remote.txt
git log -1 >> ../git-remote.txt
# reference:

This comment has been minimized.

Copy link
Owner Author

JiboStore commented Dec 20, 2017

put in in your `/Development/project' directory and run, it will go through each of your project directory and write all your git remote to a file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.