1. the code running on my vps is downloaded using composer. Yesterday I raised an issue to the code author. The author modified the code. how can I synchronize the code on my vps to be consistent with the code hosted on git by the author? 2. I tried composerupdate and composerupdate... 1. the code running on my vps was downloaded using composer. Yesterday I raised an issue to the code author. The author modified the code. how can I synchronize the code on my vps to be consistent with the code hosted on git by the author?
2. I tried
Composer updateAnd
Composer update blink/blink -- prefer-sourceAnd cannot be updated to the same state as the author.
3. thank you!
Reply content:
1. the code running on my vps is downloaded using composer. Yesterday I raised an issue to the code author. The author modified the code. how can I synchronize the code on my vps to be consistent with the code hosted on git by the author?
2. I triedComposer updateAndComposer update blink/blink -- prefer-sourceAnd cannot be updated to the same state as the author.
3. thank you!
From the analysis of your problem, it may be because the tag of the component has been written in composer. json, and the update will be ineffective.
Solution:
1. search for the Tag of the latest code published by the code author;
2. executeComposer require new/package tag.
Is it git? If yes, pull the remote stream directly.