Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where is the repository remote URL stored?

Tags:

git

Where is the git repository URL for remote is stored ?

the one that I get when I execute this : git config --get remote.origin.url

So the below command would set different for each repo by itself ?

git remote set-url origin ssh://newhost.com/usr/local/gitroot/myproject.git
like image 350
Ciasto piekarz Avatar asked Feb 10 '14 13:02

Ciasto piekarz


People also ask

Where is git remote repository stored?

The git remote command is essentially an interface for managing a list of remote entries that are stored in the repository's ./. git/config file.

How do I find remote repositories?

You can list the remote branches associated with a repository using the git branch -r, the git branch -a command or the git remote show command. To see local branches, use the git branch command. The git branch command lets you see a list of all the branches stored in your local version of a repository.


1 Answers

All repo configuration would be inside /project-root/.git/config file

like image 163
Mohammad AbuShady Avatar answered Nov 15 '22 06:11

Mohammad AbuShady