Last active
January 4, 2016 05:31
-
-
Save watagashi/55b93454f124ce92f01e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for /d %d in (%HOMEDRIVE%%HOMEPATH%\vimfiles\bundle\*) do @( | |
@if exist %d\.git ( | |
@cd %d | |
git pull %d | |
) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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