0

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?

torek
  • 448,244
  • 59
  • 642
  • 775
Armaan Brar
  • 33
  • 2
  • 5
  • Anyway, this question is not about code/development so *StackOverflow* is not the place for it, have you considered porting the question to *SuperUser* or any other of the network's websites? – vsync May 08 '22 at 09:41
  • No, I didn't know about these websites – Armaan Brar May 08 '22 at 09:45

2 Answers2

5

You can do this with the GitHub Cli:

 gh repo edit --visibility public
Markus Meyer
  • 3,327
  • 10
  • 22
  • 35
0

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.

Shankar
  • 320
  • 1
  • 6