首页 > 其他 > 详细

composer舍弃本地修改 默认选中

时间:2021-04-12 15:01:09      阅读:35      评论:0      收藏:0      [点我收藏+]
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

composer舍弃本地修改 默认选中

原文:https://www.cnblogs.com/brady-wang/p/14647119.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!