A
A
Archakov Dennis2017-01-20 01:01:02
git
Archakov Dennis, 2017-01-20 01:01:02

How to push all files to a new repository?

I created a Git server on my vps. From the laptop, I can send changes to 2 servers (heroku, github). Added the "server" repo, commits the rules, everything is ok. How to upload all files to the new repo now? Not those that have changed, but all at once.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Archakov Dennis, 2017-01-20
@archakov06

I was answered on the stack :
After you have added a new remote turnip with git remote add NEWREMOTE ...., you can execute

git push NEWREMOTE --all
git push NEWREMOTE --tags

where NEWREMOTE is the name of your new remote turnip.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question