git diff old mode 解决办法

把项目部署到服务器后没有做改动,用 git pull 拉取变更的代码提示本地文件已修改。随便 git diff 则显示

git diff xxx
old mode 100644
new mode 100755

明显可以看到是文件权限改变了引起的,解决办法也很简单,只需要设置 git 忽略本地文件的权限价差

git config core.filemode false
git config --global core.filemode false
Responses
  1. Outliff

    Since lifetime differs for everybody, Composing an informative article could be complicated. I give advice about the best way best to compose an essay. Thesis paper in faculty for the maximal! Recruit a degree-holder from the area to genius your undertaking. Whatever theme. http://www.plombier-marseille-plomberie.com/if-you-want-to-be-a-winner-change-your-cheap-dissertation-writers-philosophy-now/ https://changedmylife.com.au/how-long-is-a-doctoral-dissertation/ https://wallfnadlln.com/2021/05/19/10-step-checklist-for-business-plan-writers-in-us/

    Reply
  2. Outliff

    Introduction is very essential within a informative article and there is a start intriguing. To if you're required to talk exactly what you produce, You start with a challenge is ideal. It pulls on the listener in however an audience, it leaves him wary and defensive. http://slamzver.blox.ua/2021/04/apply-any-of-these-10-secret-techniques-to-improve-online-paper-writing-service.html https://sarvprint.ir/are-clinical-trials-profitable/ http://www.mgn.mn/2021/04/20/get-rid-of-presentation-writing-service-for-good/

    Reply
  3. Nice post. I used to be checking continuously this weblog and I am inspired! Extremely helpful information particularly the closing phase :) I deal with such info a lot. I used to be seeking this particular information for a long time. Thank you and best of luck.

    Reply
  4. May I simply just say what a comfort to discover an individual who actually knows what they are talking about on the internet. You definitely understand how to bring an issue to light and make it important. A lot more people must read this and understand this side of the story. I was surprised that you are not more popular since you certainly have the gift.

    Reply
  5. Hey! Would you mind if I share your blog with my myspace group? There's a lot of folks that I think would really enjoy your content. Please let me know. Many thanks

    Reply
  6. What's up, I would like to subscribe for this weblog to take hottest updates, thus where can i do it please help out.

    Reply