Example scenario
I have the projetos
folder on the server.
On my local machine, where I have Git, I created a folder empresa
, where I copied all the files from the projetos
folder of the server.
I made add
, commit
and push
of everything, into GitLab .
Questions
- If I change a file on the server, copy that file, and play in the
empresa
folder on my machine, will Git identify that it has been modified ?- By the modification date or by the content of the file?
- That way: copying from the server and pasting the local machine to make
push
, would not have any problem, correct!?
(yes, I understand that the most correct would be to have Git on the server, but the question is in this specific scenario, for those who do not have Git on the server)