If I have a src folder with multiple git repos inside of it, maybe something like,
/src
/repo1
/repo2
...
Maybe some of them have some uncommited/unstaged edits. I was looking for a command that would run git pull on all of them, regardless of their changes.
I know a command like find . -mindepth 1 -maxdepth 1 -type d -print -exec git -C {} pull \; will just do a git pull, but how would I throw a git checkout . in there? Maybe something with a git reset --hard origin/master?