0

Hello I am using Mercurial for version control of all of my projects. My projects have a folder structure like this.

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

After finishing the static HTML I like to setup a Wordpress theme. But I don't like to have the whole folder structure in my web directory. Is there a way to push and pull only the plugins and themes folder to Wordpress without the other directory's?

4

3 に答える 3

0

には別のリポジトリを使用する必要があります06 – Code WP-Content。そうすれば、個別にプッシュできます。すべてが1つのリポジトリにある場合は、すべてをプッシュする必要があります。

于 2012-11-14T21:58:45.577 に答える
0

答えてくれてありがとう。

私は自分のウェブサーバーに www.Project.com/06 – Code WP-Contentパスへのエイリアスを作成することで問題を解決することにしました。

于 2012-11-17T10:32:53.817 に答える
0

.hgignore 機能を使用してみてください -こちらを参照してください。

于 2012-11-14T18:44:26.333 に答える