Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mercurial 水银检验_Mercurial - Fatal编程技术网

Mercurial 水银检验

Mercurial 水银检验,mercurial,Mercurial,您好,我正在使用Mercurial对我的所有项目进行版本控制。 我的项目有这样的文件夹结构 www.Project.com 01 – Consultancy(excluded) 02 – Information Architecture 03 – Content 04 – Branding Fonts (excluded) Guidelines Logo 05 – Design Graphic

您好,我正在使用Mercurial对我的所有项目进行版本控制。 我的项目有这样的文件夹结构

www.Project.com
    01 – Consultancy(excluded)
    02 – Information Architecture
    03 – Content
    04 – Branding
        Fonts (excluded)
        Guidelines
        Logo
    05 – Design
        Graphics
        Stock Photography
    06 – Code WP-Content
        Plugins
        Themes
    07 – Marketing
        Email
        SEO
        Social Media

完成静态HTML后,我想设置一个Wordpress主题。但是我不喜欢在我的web目录中有整个文件夹结构。有没有办法只将插件和主题文件夹推拉到Wordpress,而不使用其他目录?

尝试使用.hgignore功能-请参阅。

您应该为
06–code WP内容使用单独的存储库。这样你就可以分开推了。如果所有内容都在一个存储库中,则必须推送所有内容。

谢谢您的回答

我已经决定通过在我的网站上创建一个别名来解决这个问题
www.Project.com/06–编码WP内容路径,将其余内容保留在Tack中

这里已经有人问过这个问题:但是子存储库呢?我已经试过这几行了https://domain.com/www-project-com www Project com cd www Project com hg init Code WP Content echo Code WP Content=Code WP Content>https://domain.com/www-project-com/Code-WP-Content Code WP Content
很抱歉,我的回复很混乱,但我已尝试改进,但没有成功对不起,我不熟悉Mercurial的子存储库“最后手段的功能”。您可以在Mercurial中嵌套存储库,而无需使用子存储库功能,但您必须单独管理它们。