The author of the code library updated the code. how can I synchronize the code on my own vps with the author?

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.