code_conundrum
code_conundrum

Reputation: 599

How can I add file two different file into two different repository?

for ex: I have two file a.py and b.py, then I want add a.py in xyz and b.py in abc repository

Upvotes: 0

Views: 24

Answers (1)

eftshift0
eftshift0

Reputation: 30277

but using a single project, I would assume? You add two remote to your project, create two branches, one for each remote... checkout one of those branches, add a.py, commit, push to its remote. Checkout the other branch, add b.py, commit, push to the other remote.

Upvotes: 1

Related Questions