I'm using git with android studio and I already sync other repository.
But I hope to change a git repository like github.
I think I need to disconnect already connected to the repository but I don't found this option.
To do that, How can I do?
“git how to switch to another repository” Code Answer's Create a new repo at github. Clone the repo from fedorahosted to your local machine. Now you can work with it just like any other github repo. simply run git pull upstream master && git push origin master.
You can view the remote links in Android Studio as: In menu, click VCS => git => remotes.
We can change the repository url. Just follow the steps.
In Android Studio Arctic Fox | 2020.3.1
For Android Studio Older versions
Happy Coding :)
You can use SmartGit application and set your new git url at "Remote\Properties..." and then push button "Store".
Or you can go to "[project folder]\.git" and edit "config" file. Find line "url = https//[your current url]" and put your new url instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With