本文共 675 字,大约阅读时间需要 2 分钟。
error log:
error: Your local changes to the following files would be overwritten by merge: app/Http/Controllers/User/UserIndexController.phpPlease commit your changes or stash them before you merge.Aborting
You can't merge with local modifications. Git protects you from losing potentially important changes. You have three options.
git commit -m "My message"
To stash type:
git stash
Do the merge, and than pull the stash:
git stash pop
git reset --hard.
转载地址:http://lykrf.baihongyu.com/