Skip to content

Instantly share code, notes, and snippets.

@SofianeHamlaoui
Created December 26, 2019 02:52
Show Gist options
  • Save SofianeHamlaoui/b34a1bdb4256ec791afa5d7e0e9164a0 to your computer and use it in GitHub Desktop.
Save SofianeHamlaoui/b34a1bdb4256ec791afa5d7e0e9164a0 to your computer and use it in GitHub Desktop.
Git pull Recursive for Lockdoor
find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && git pull origin master" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment