Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- import os
- def main():
- rootDir = "../"
- for f in os.listdir(rootDir):
- path = os.path.join(rootDir, f)
- print "Now pulling " + path
- os.chdir(path)
- os.system("git pull")
- if __name__ == '__main__':
- main()
Add Comment
Please, Sign In to add comment