所以,我有一个开发、登台和主分支。我有一个用于登台和制作的 heroku 主机。
现在我可以说我做了以下事情:
git checkout development
make some changes
commit -a -m them and push them.
然后我跑
git checkout staging
git merge development
我收到以下错误:
Auto-merging app/views/devise/registrations/new.html.erb
CONFLICT (content): Merge conflict in app/views/devise/registrations/new.html.erb
Automatic merge failed; fix conflicts and then commit the result.
为什么是这样?