Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ solved ] Error on git pull
#1
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?
Ranieri
eCRM Web
Reply
#2
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
Joe
TSolucio
Reply
#3
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
Ranieri
eCRM Web
Reply
#4
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
Ranieri
eCRM Web
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)