开发者

Git: after shell generates files on the live server, does git repo updates automatically?

开发者 https://www.devze.com 2023-04-10 08:37 出处:网络
I\'m very new to version control systems and this part seems confusing. I\'m using a PHP framework (Symfony) and sometimes I need to generate modules, etc. - new files.

I'm very new to version control systems and this part seems confusing.

I'm using a PHP framework (Symfony) and sometimes I need to generate modules, etc. - new files.

I do this开发者_StackOverflow中文版 with Putty by connecting to the live server.

But the generated files on the server won't automatically appear in the repo on git, will they?

What is the concept behind this?


Files won't be added to your repository without interaction. Everything that goes into your repository will need to be manually added with git add fileName

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号