简体   繁体   English

hgignore-按特定的远程位置忽略文件

[英]hgignore - ignore file by specific remote location

I have checkout from a local mercurial repository and want to make a backup on another repo. 我已经从本地Merurial存储库中结帐,并希望在另一个存储库上进行备份。 but files is too large. 但是文件太大。 it's there any chance to ignoring some directories/files on specific remote? 有没有机会忽略特定遥控器上的某些目录/文件?

You can use the Convert Extension locally to create a new repository. 您可以在本地使用转换扩展名来创建新的存储库。 Using the --filemap option, you can exclude specific paths. 使用--filemap选项,可以排除特定路径。 This will achieve what you want - create subset of your original repository and push that to the remote repo. 这将实现您想要的-创建原始存储库的子集,并将其推送到远程存储库。

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

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