Skip to content

Instantly share code, notes, and snippets.

@shamangeorge
Created October 16, 2013 15:19
Show Gist options
  • Save shamangeorge/7009429 to your computer and use it in GitHub Desktop.
Save shamangeorge/7009429 to your computer and use it in GitHub Desktop.
find all gitconfigs in dir and subdirs
dir = 1$
for gitconfig in `find $dir -wholename "*.git/config" -type f`;do nano "$gitconfig"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment