my automation fails because git pull
expects a reply (merge message). I saw I can use the --no-edit
flag which is not recommended. Instead I would like to actually provide a message to it during the pull. Of course, if there is a conflict - to exit with failure.
How to do that ?
你可以运行:
git pull --no-commit && git commit -m ...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.