楼主: 宽客老丁
2969 1

[其他] What does not belong to the source control repository? [推广有奖]

  • 5关注
  • 6粉丝

已卖:86份资源

讲师

60%

还不是VIP/贵宾

-

威望
0
论坛币
314938 个
通用积分
384.9155
学术水平
8692 点
热心指数
8705 点
信用等级
8693 点
经验
407819 点
帖子
535
精华
0
在线时间
304 小时
注册时间
2018-12-30
最后登录
2026-2-12

楼主
宽客老丁 发表于 2021-12-18 10:36:50 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
What does not belong to the source control
repository?
Let's look into what should not be checked into the source control repository.
Firstly, anything other than the source code file shouldn't be checked in. The computer
generated files should not be checked into source control. For example, let's assume
that we have a Python source file named main.py. If we compile it, the generated code
does not belong to the repository. The compiled code is a derived file and should not be
checked into source control. There are three reasons for this, outlined as follows:
• The derived file can be generated by any member of the team once we have the
source code.
• In many cases, the compiled code is much larger than the source code, and adding
it to the repository will make it slow and sluggish. Also, remember that if there are
16 members in the team, then all of them unnecessarily get a copy of that generated
file, which will unnecessarily slow down the whole system.
• Source control systems are designed to store the delta or the changes you have made
to the source files since your last commit. Files other than the source code files are
usually binary files. The source control system is most likely unable to have a diff
tool for that, and it will need to store the whole file each time it is committed. It will
have a negative effect on the performance of the source control framework.

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:control Belong Contro Source contr

回帖推荐

宽客老丁 发表于10楼  查看完整内容

PyDev If you are using or have used Eclipse, you may like to consider PyDev, which is a third-party editor for Eclipse. It is in the category of one of the best Python IDEs and can also be used for Jython and IronPython. It is free. As PyDev is just a plugin on top of Eclipse, it is available for all major platforms, such as Eclipse. This IDE comes with all the bells and whistles of Ecli ...
Don't just fly, soar.

沙发
三重虫 发表于 2021-12-18 16:53:14

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-2-13 07:32