Reputation: 2295
I use GitHub in Android Studio, I pull a project from GitHub using URL.
At present, I hope to copy the URL of the GitHub project, but I find the URL can not be copied, you can see Image 1.
How can I get the GitHub URL of the project in Android Studio?
Image 1
Upvotes: 3
Views: 5226
Reputation: 37404
You can view the remote links in Android Studio as:
Alternately, you can get the complete details in terminal using
Upvotes: 3
Reputation: 99
I think this is the easier way (less typing):
$ git remote -v
You can add to your profile with: alias s='git remote -v && git status'
Upvotes: 1
Reputation: 1834
It Android Studio, in the bottom bar where the LogCat is, there's another window named Terminal open it, and the type:
git config --get remote.origin.url
The URL will be displayed and you can copy it from there
Upvotes: 0