Skip to content

Instantly share code, notes, and snippets.

@watagashi
Last active January 4, 2016 05:31
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 watagashi/55b93454f124ce92f01e to your computer and use it in GitHub Desktop.
Save watagashi/55b93454f124ce92f01e to your computer and use it in GitHub Desktop.
for /d %d in (%HOMEDRIVE%%HOMEPATH%\vimfiles\bundle\*) do @(
@if exist %d\.git (
@cd %d
git pull %d
)
)
find ~/vimfiles/bundle -maxdepth 1 -type d -exec sh -c 'cd {} ; test -d .git && git remote -v && git pull' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment