简体   繁体   English

Git:shell在live服务器上生成文件后,git repo会自动更新吗?

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

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. 我正在使用PHP框架(Symfony),有时我需要生成模块等 - 新文件。

I do this with Putty by connecting to the live server. 我通过连接到实时服务器与Putty这样做。

But the generated files on the server won't automatically appear in the repo on git, will they? 但是服务器上生成的文件不会自动出现在git上的repo中,是吗?

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 进入存储库的所有内容都需要使用git add fileName手动添加

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM