我执行初始 hginit 命令后没有 .hgignore 文件

发布于 2024-10-08 10:11:31 字数 328 浏览 0 评论 0原文

我在我的机器上创建了我的第一个 Mercurial 存储库。我在目录上使用了 hg init 命令。

现在,我尝试在上传到 BitBucket 之前使用此忽略文件:

Mercurial 。 hgignore for Visual Studio 2008 项目

我应该在哪里发布 Even Mien 的配置文件?我在任何地方都找不到 hgignore 文件。

谢谢

I've created my very first Mercurial repo on my machine. I used the hg init command on the directory.

Now I'm trying to use this ignore file, before uploading to BitBucket:

Mercurial .hgignore for Visual Studio 2008 projects

Where would I post Even Mien's configuration file? I can't find an hgignore file anywhere.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

万人眼中万个我 2024-10-15 10:11:31

只需在存储库的顶级目录(与 .hg 文件夹所在的位置相同)中创建一个即可。

Just make one in the top-level directory of the repository (the same place where the .hg folder is).

二智少女猫性小仙女 2024-10-15 10:11:31

只需在项目的根文件夹中创建一个名为 .hgignore 的新文本文件并将内容粘贴到其中即可。

Just create a new text file named .hgignore at the root folder of your project and paste the content into it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文