After a lot of programming in my life, breaking my head doing FTP to update the system that is running in production, I decided to default to GIT
.
When I have a new update tested, I make a git pull
in the directory of the application in production. It gets easier this way, and what I would do with 20 minutes or more will do with 2 seconds.
But a concern has arisen: What if, when I give a git pull
, give the famous "Merge Conflict" in the archives?
I started to search the internet if there was any way to make a git pull
, forcing to modify the files for the last update, without having problems of "merge conflicts", but did not find much (perhaps for not knowing what search in English).
I do not know if this is relevant, but obviously the files in production are not changed. Even so, you could not have a conflict right in production.
Does anyone know a way to git pull
, but without conflict? Is that possible?