Skip to content

Instantly share code, notes, and snippets.

@angyvolin
Created September 12, 2016 08:26
Show Gist options
  • Save angyvolin/7b9ba60ea01c8e6a52beed62fa0fe748 to your computer and use it in GitHub Desktop.
Save angyvolin/7b9ba60ea01c8e6a52beed62fa0fe748 to your computer and use it in GitHub Desktop.
find_commit.sh
#!/bin/sh
echo started
git rev-list HEAD --remotes |
while read rev; do
if git show -p $rev | grep countByMgmLoginName >/dev/null; then
echo $rev
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment