S
S
Steppp2021-01-25 18:21:14
git
Steppp, 2021-01-25 18:21:14

How to add 1 project to 2 repositories?

The customer added me to his github repository, I did the job.
Now I want to add the project to my repository. But so that I can push both to myself and to the customer!
git remote says fatal: remote origin already exists.

How to add 1 project to 2 repositories?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2021-01-25
@Steppp

git remote add myorigin https://github.com/user/repo.git
name origin is already taken - use something else, myorigin for example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question