let today = new Beginning();


One command to pull all git repositories

Every time I start my computer, I gonna open bash and pull all my repositories. My folder structure looks like this: So how can I pull all my repos with only one command? First, create a new file: under the folder WorkSpace Change the content to: find . -maxdepth 2 -mindepth 2 -type d ( ! -name . ) -exec bash -c "cd '{}' && pwd && git pull" ; And execute the  …

bash git

  • 1