Skip to content

Instantly share code, notes, and snippets.

@hobbes3
Created January 16, 2019 07:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hobbes3/ec3f78145e29a217e827dd97d3707bb5 to your computer and use it in GitHub Desktop.
Save hobbes3/ec3f78145e29a217e827dd97d3707bb5 to your computer and use it in GitHub Desktop.
git pull cluster master mass find
find /opt/splunk/etc/master-apps/ -name ".git" -exec dirname {} \; | xargs -I {} sh -c "echo {}; git -C {} pull;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment