Search code examples
gitgithubrepositorygithub-api

Is there a way to make all your repositories / repos in GitHub Private from commandline or git? Windows


Is there a way to make all your repositories / repos in GitHub Public from commandline or git on Windows?


Solution

  • You're probably looking for the GitHub CLI program. Specifically:

    gh repo edit your/repository --visibility=private