Using the YII2 framework, used to install plug-ins with composer, installed after the Discovery Plugin directory is considered a git sub-project, the knife block submitted to the project git inside, just an empty directory.
There are a few minor problems;
1, everyone on the online project git is ignoring vendor? This feeling whether the collaboration is inconvenient, there are deployment, mainly because composer in the domestic also pits.
2, if this situation, do not want to do ignore vendor folder, want to take this sub-project recognition also removed, how to operate?
Reply content:
Using the YII2 framework, used to install plug-ins with composer, installed after the Discovery Plugin directory is considered a git sub-project, the knife block submitted to the project git inside, just an empty directory.
There are a few minor problems;
1, everyone on the online project git is ignoring vendor? This feeling whether the collaboration is inconvenient, there are deployment, mainly because composer in the domestic also pits.
2, if this situation, do not want to do ignore vendor folder, want to take this sub-project recognition also removed, how to operate?
You must have the label of the package chosen dev-master
, the main reason is this.
1, under normal circumstances, vender of course to ignore, is generally in the local development time how to, release the time again on the server composer update. Will not take vender also as a document to publish.
2, not very clear where the problem is, no add into git?
Revise it .gitignore
and vendor/
delete it should be.