简体   繁体   English

我如何忽略 mercurial hg 上的文件模式

[英]How do i ignore file mode on mercurial hg

I want to ignore file mode,such as chmod 777 somefile .我想忽略文件模式,例如chmod 777 somefile

I'm looking for a setting similar to Git's:我正在寻找类似于 Git 的设置:

core.filemode = false core.filemode = false

Mercurial only tracks the execute permission on files. Mercurial 只跟踪文件的执行权限。 In order to avoid tracking it a solution has been posted here: Mercurial: Ignore file permission / mode (chmod) changes .为了避免跟踪它,这里发布了一个解决方案: Mercurial: Ignore file permission / mode (chmod) changes

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

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