CoreBOSBB
[ solved ] Error on git pull - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: [ solved ] Error on git pull (/showthread.php?tid=1362)



[ solved ] Error on git pull - rslemer - 01-11-2019

I have one install when I try uses a git pull many files shows as changed localy but is not true

for example, in root directory system shows Mobile.php, PEAR.php is changed

How I can solved that?


RE: Error on git pullphp - joebordes - 01-11-2019

This usually happens when you have changed the permissions of the files. git controls that and considers it a change. Execute:

git diff Mobile.php

to see the exact change git is seeing and share that with us if it isn't clear


RE: Error on git pullphp - rslemer - 01-11-2019

git diff Mobile.php
diff --git a/Mobile.php b/Mobile.php
old mode 100644
new mode 100755

I moved this install from older server

At first install S.O is Ubuntu and at new server is CentOS

Thats differences could be causes a problem?

I will try change permissions and will returned a result here


RE: Error on git pull - rslemer - 01-16-2019

Solved

I changed all files with chmod +x and chmod -x again ...

And execute git pull with sucessfull

https://stackoverflow.com/questions/1257592/how-do-i-remove-files-saying-old-mode-100755-new-mode-100644-from-unstaged-cha/44866012