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
''' | |
Snippet to interactively view statuses and enter commands of all repositories in a Github folder | |
purpose is to clean up any lingering modifications/added files yet to be committed | |
''' | |
import os | |
dirname = os.path.dirname(os.path.realpath(__file__)) | |
folders = list(os.walk(dirname))[0][1] | |
folderspath = [os.path.join(dirname, f) for f in folders if not f.startswith(".")] | |
for folder in folderspath: |