Reputation: 29
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?
Upvotes: 0
Views: 1836
Reputation: 3937
You can do this with the GitHub Cli:
gh repo edit --accept-visibility-change-consequences --visibility public
Upvotes: 6
Reputation: 360
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.
Upvotes: 0