Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 531 Bytes

to reference of this problem:

This script will force some git folder to behave like svn durring merging conflicts. That means when you do git merge or git rebase and conflict accrues, your changes in your branch will overwrite changes you are merging/rebasing from (similar functionality goes to git pull)

  cd ~/myapp/public/xcf/
  sudo ~/path_where_you_cloned_this_repo/