The code base author updated the code, how does the code on my own VPS sync into the same as the author?

Source: Internet
Author: User
Tags vps
1. The code that runs on my VPS is downloaded with composer. Yesterday gave the code author a issue, the author modified the code, then my VPS on the code, how to sync to the author's host on the GIT code consistent?
2. I try composer update and composer update blink/blink --prefer-source , have no effect, and can not be updated into a consistent state with the author.
3. Thank you!

Reply content:

1. The code that runs on my VPS is downloaded with composer. Yesterday gave the code author a issue, the author modified the code, then my VPS on the code, how to sync to the author's host on the GIT code consistent?
2. I try composer update and composer update blink/blink --prefer-source , have no effect, and can not be updated into a consistent state with the author.
3. Thank you!

From your problem analysis, it may be because the Composer.json has already written the tag of the component, it will not be updated without effect.

Solution:
1. Find the tag of the latest code published by the code author;
2, implementation composer require new/package tag to update.

Is it git, and if so, pull the remote stream directly

  • Related Article

    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.