zoukankan      html  css  js  c++  java
  • composer舍弃本地修改 默认选中

    Executing command (/dgmall/phproot/app-api/vendor/dg/rpc): git status --porcelain --untracked-files=no
        The package has modified files:
        M src/baseScript/sendEmail.sh
        Discard changes [y,n,v,d,s,?]? y
    Executing command (/dgmall/phproot/app-api/vendor/dg/rpc): git reset --hard
    Executing command (/dgmall/phproot/app-api/vendor/dg/rpc): git remote -v
     Checking out 96972a6a49737d8fb1430c7fffd0bad9ff6f66e5
    Executing command (/dgmall/phproot/app-api/vendor/dg/rpc): git remote -v
    Executing command (/dgmall/phproot/app-api/vendor/dg/rpc): (git remote set-url composer 'http://gitlab.diangoumall.com:8881/business/dg-rpc.git' && git rev-parse --quiet --verify '96972a6a49737d8fb1430c7fffd0bad9ff6f66e5^{commit}' || (git fetch composer && git fetch --tags composer)) && git remote set-url composer 'http://gitlab.diangoumall.com:8881/business/dg-rpc.git'
    Executing command (/dgmall/phproot/app-api/vendor/dg/rpc): git branch -r
    Executing command (/dgmall/phproot/app-api/vendor/dg/rpc): git checkout 'development' --
    Executing command (/dgmall/phproot/app-api/vendor/dg/rpc): git reset --hard '96972a6a49737d8fb1430c7fffd0bad9ff6f66e5' --
    
    
    COMPOSER_DISCARD_CHANGES=true composer update -vvv --no-dev --no-interaction
    

    https://stackoverflow.com/questions/25828102/composer-discard-changes-what-do-the-y-n-v-d-s-do

  • 相关阅读:
    线程
    GridView 1 分页 全选 编辑 删除 更新
    抓取淘宝分类
    ruwnumber自定义分页
    XML随笔
    二进制图片相互转换
    7表单1
    HTML代码1
    6表格
    5图像
  • 原文地址:https://www.cnblogs.com/brady-wang/p/14647119.html
Copyright © 2011-2022 走看看