How to retrieve the url of created github repo with the gh command? I mean I created the repo with gh command and what if I don't want to go to the github. is it possible to retrieve its url not going to the github?
I did git repo create "name_of_the_repo". Don't now how to work with it futherly with th command promt. Please advice.
CodePudding user response:
Try gh repo view <your repo name>
Alternatively, you can see the list of repos using the command
gh repo list
CodePudding user response:
git config --get remote.origin.url
Git show remote url-How can I determine the URL that a local Git repository was originally cloned from? - Intellipaat Community - https://intellipaat.com/community/3102/git-show-remote-url-how-can-i-determine-the-url-that-a-local-git-repository-was-originally-cloned-from