In my project's .hgignore
, I want to exclude /static/
(i.e., the static folder at the root of the directory), but not /templates/static/
. How would I configure .hgignore
to allow this?
相关问题
- Mercurial compared to private branches in SVN
- How to abandon all Mercurial changes that haven
- Windows permissions on a directory: Mercurial - hg
- hg shelve installed but hg: unknown command 'u
- Reverting “discard all changes” merge effect
相关文章
- Mercurial Commit Charts / Graphs [closed]
- What is the tortoisehg gui equivalent of doing “hg
- How to use Mercurial from Visual Studio 2010?
- Is there a version control system abstraction for
- Mercurial discard local changes of a file or group
- Mercurial .hgignore Negative Lookahead
- How to see a mercurial difference
- Commiting Mercurial (Hg) branch to GitHub
You can include
syntax: regexp
at the beginning of .hgignore and then use perl regex syntax to root a directory by using^
. So just^static
should do the work.