Are remote addresses deleted in Git?

When I am working on a Git project, I clone the repo from Github and then add the remote:, git remote add bitbucket https://foo@bitbucket.org/foo/bar.gitthen I commit and click on originand bitbucket. Is the new remote also saved on Github? Will other users see that I added a new remote? Or is it just stored locally?

Thank,

+4
source share
3 answers

Which remote devices are used for your copy of the repository are not part of the repository itself and therefore are not pushed. Please note that the remote control can also be local or private networks.

+3
source

, . git git .git.

+4

No, remit settings are located locally in your .git folder and do not return to any of the remotes you installed

+3
source

Source: https://habr.com/ru/post/1679410/


All Articles