Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check the URL of current git repository with TortoiseGit?

I am new to git and have currently switched from Bitbucket to Github, but have not yet deleted the Bitbucket repository. I have a folder in my computer, but am unsure whether that folder is from the github or the bitbucket repository. Is there a way I can check the URL of the repository with TortoiseGit, and if so how?

like image 390
pythonic Avatar asked Jun 22 '17 21:06

pythonic


2 Answers

Go to your project folder and open the .git/config file. There you can see the remote urls.

like image 133
René Höhle Avatar answered Sep 22 '22 15:09

René Höhle


Git is a decentralized version control system and, thus, can have multiple remote repositories for a working tree.

The configured ones can be seen in TortoiseGit settings -> Git -> Remotes (cf. https://tortoisegit.org/docs/tortoisegit/tgit-dug-settings.html#tgit-dug-settings-remote).

like image 37
MrTux Avatar answered Sep 22 '22 15:09

MrTux