Created
November 10, 2016 00:54
-
-
Save zrt/6c693acac42e50031ea338799ba8e010 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
import os | |
now=os.getcwd() | |
a=os.listdir() | |
a=list(filter(lambda x:os.path.isdir(x),a)) | |
for s in a: | |
path=os.path.join(now,s) | |
os.chdir(path) | |
if os.path.isdir('.git'): | |
print('# ./'+s) | |
os.system('git status') | |
print() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment