S
S
sofdob2017-08-31 10:53:38
git
sofdob, 2017-08-31 10:53:38

How to upload all files from vendor to git repository?

In yii2 there is a vendor root folder, is there a way to upload all files to a remote repository, ignoring .gitignore? Is there any command for this?
I know about composer and use it. So there is no point in talking about him. I'm wondering if it's possible to download all files without changing all .gitignore or not.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
dmitriy, 2017-08-31
@dmitriylanets

filezilla

N
Nikita Dergachov, 2017-08-31
@vanillathunder

Isn't it easier to edit .gitignore ?

A
Andrey Andreev, 2017-08-31
@b0nn1e

git add --force vendor or something like that.

M
Maxim Fedorov, 2017-08-31
@Maksclub

Not necessary!!!!
There is composer.json, it contains information on libraries in this folder.
type composer update and all relevant libraries will be loaded, there is no other correct option

V
vism, 2017-08-31
@vism

By uploading shit to the repository, it will remain on the walls.
Just fill it with your hands.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question