git - Different Commits - Error: The following untracked working tree files would be overwritten by merge -
i trying set production, testing , development environments site. came time of pushing first minor change production. however, when try it, gives following error:
error: following untracked working tree files overwritten merge:
changelog.txt copyright.txt blockquote install.mysql.txt install.pgsql.txt install.sqlite.txt install.txt license.txt maintainers.txt readme.txt upgrade.txt misc/arrow-asc.png misc/arrow-desc.png misc/configure.png misc/draggable.png
the list of files goes on , omitted them brevity.
my production , development .gitignore identical. namely, follows:
# ignore configuration files may contain sensitive information. sites/*/settings*.php .htaccess # ignore paths contain user-generated content. sites/*/files sites/*/private <<<<<<< head ======= # compiled source # ################### *.com *.class *.dll *.exe *.o *.so # packages # ############ # it's better unpack these files , commit raw source # git has own built in compression methods *.7z *.dmg *.gz *.iso *.jar *.rar *.tar *.zip # images # ############ *.jpg *.gif *.png *.pdf *.tiff # logs , databases # ###################### *.log *.sql *.sqlite # os generated files # ###################### .ds_store .ds_store? ._* .spotlight-v100 .trashes ehthumbs.db thumbs.db # ignore default text files robots.txt /changelog.txt /copyright.txt /install*.txt /license.txt /maintainers.txt /upgrade.txt /readme.txt sites/readme.txt sites/all/modules/readme.txt sites/all/themes/readme.txt >>>>>>> 07326d6660b93c61b407c37a1582a37d5c374905
what can fix this? assume issue has how git ignores files.