P
P
Pinkman2021-07-31 01:02:45
git
Pinkman, 2021-07-31 01:02:45

Is it possible to use one repository for multiple repositories?

Good evening! Is it possible to synchronize two different repositories with the same files (except in the case of simply copying files from folder to folder)? For example, I have a github and a gitlab rep. Is it possible to make it so that when pushing changes are uploaded to both github and github?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2021-07-31
@famousman204

Yes. You can add as many external repositories as you like.
One of them will be the main one, named origin. It will be pushed into it by default.
To push to other turnips, you will need to specify their names.
610480097675a071673182.png
Look for console commands on the Internet. I use goo.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question