I am submitting a task to a bot. I can't see the settings tab. Therefore, I wanted to use command line to execute the command .
How can I make my private repository public using the git bash command line?
CodePudding user response:
You can do this with the GitHub Cli:
gh repo edit --visibility public
CodePudding user response:
Using git command I don't think it's possible. You can use GitHub cli repo edit command : https://cli.github.com/manual/gh_repo_edit or you can directly use GitHub API'S to accomplish this.