search

Home  >  Q&A  >  body text

Problems using git mirror

I now have 2 repo A and B
. I want to clone A and submit the code. When I finally push, B can also be updated synchronously. How should I do this?

I have looked for the solution of postscript, but I saw that there are mirror related keywords in git.

To be honest, I am not very familiar with some of the terminology of git, so is there a link to introduce some concepts? (Or is git scm enough?)

PHP中文网PHP中文网2793 days ago617

reply all(2)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-02 09:38:27

    git remote set-url origin --push --add <url>

    reply
    0
  • 怪我咯

    怪我咯2017-05-02 09:38:27

    /q/1010000000764992
    /q/1010000000367632/a-1020000000369754
    /q/1010000000411859/a-1020000000411882
    /q/1010000002579333/a-1020000002579385

    reply
    0
  • Cancelreply