root@ip-180-81-85-00:/opt/lampp/htdocs/holidaylandmark/events# git pull origin master
fatal: detected dubious ownership in repository at ‘/opt/lampp/htdocs/holidaylandmark/events’
To add an exception for this directory, call:
git config –global –add safe.directory /opt/lampp/htdocs/holidaylandmark/events
root@ip-180-81-85-00:/opt/lampp/htdocs/holidaylandmark/events# git config –global –add
error: wrong number of arguments, should be 2
Solution:
git config --global --add safe.directory "full path your directory"
then now run this command “git pull origin master”