Search code examples
gitgit-remote

Is one git remote aware of another?


I have a local repository, to which I have associated two remotes (via git remote add...). I regularly push to both remotes. Are the two remotes linked or aware of each other in any way?

In case it's relevant, I'm trying to design a homework "competition" for multiple people to work on without being aware of the others' work.


Solution

  • No, they're not. You can have an arbitrary number of remotes, and none of them are inherently made aware of each other because of this.