git -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree commit -q -F /var/folders/w3/bf3m3syj2lz6hxqbkmn5np1r0000gn/T/SourceTreeTemp.U2uvLp -a\nOn branch distribution\nYour branch is ahead of 'origin/distribution' by 2 commits.\n (use "git push" to publish your local commits)\n\nChanges not staged for commit:\n (use "git add ..." to update what will be committed)\n (use "git restore ..." to discard changes in working directory)\n\tmodified: SixLive/SixLive/Modules/HomeModule/MHFindViewController/MHFindDetailViewController/View/ShoppingView/ShopOrder/PendingOrderView.m\n\nno changes added to commit (use "git add" and/or "git commit -a")\nCompleted with errors, see above\n报错翻译内容:错误翻译:\n在分支distribution上\n你的分支比'origin/distribution'领先2个提交。\n(使用"git push"来发布你的本地提交)\n\n未暂存的更改:\n(使用"git add ..."来更新将要提交的内容)\n(使用"git restore ..."来放弃工作目录中的更改)\n修改:SixLive/SixLive/Modules/HomeModule/MHFindViewController/MHFindDetailViewController/View/ShoppingView/ShopOrder/PendingOrderView.m\n\n没有添加任何更改到提交(使用"git add"和/或"git commit -a")

Git Commit 错误:未暂存更改,无法提交

原文地址: https://www.cveoy.top/t/topic/pJnA 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录