Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有repoArepo,然后我repo用 branch 创建了 repo branchA,我希望 branchbranchA同步repoA,我该怎么做?
repoA
repo
branchA
你可以试试:
git remote add repoA /path/to/repoA git branch --set-upstream branchA repoA/master