版本控制系统常用哪些文件夹?

发布于 2024-08-30 02:23:36 字数 166 浏览 4 评论 0原文

我需要知道版本控制系统常用的文件夹名称。许多 VCS 会创建一个隐藏文件夹(通常位于源代码树的顶层)来存储它们使用的信息。

到目前为止,我只知道Git使用.git/,SVN使用.svn/

其他流行的 VCS 使用的文件夹名称是什么?

I need to know what folder names are commonly used by Version Control systems. Many VCSs will create a hidden folder, usually in the top level of the source tree, to store the information that they use.

So far, I only know that Git uses .git/ and SVN uses .svn/.

What are the folder names that other popular VCSs use?

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

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

发布评论

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

评论(2

囍孤女 2024-09-06 02:23:36

我们可以将 VCS 分为三组:

每个目录中的特殊子目录

  • CVS
  • Subversion (.svn)

这样做的优点是工作副本中的每个目录都是独立的工作副本:您可以将其复制到其他地方,它仍然可以工作。明显的缺点是混乱。使用自动工具扫描这些工作副本之一需要特殊过滤,否则它们将返回虚假结果。

每个工作副本有一个特殊目录

  • Mercurial (.hg)
  • SVK
  • (也许是 Git,我不确定?)

特殊文件系统支持

  • ClearCase(动态视图是已安装的 FS) ;快照视图更类似于单目录情况)

We could probably divide the VCSs into three groups:

Special Subdirectory in each directory

  • CVS
  • Subversion (.svn)

The advantage of this is that each directory in the working copy is a self-contained working copy: you can copy it out somewhere else and it will still work. The obvious disadvantage is the clutter. Using automatic tools to scan over one of these working copies need special filtering or they will return spurious results.

Single special directory for each working copy

  • Mercurial (.hg)
  • SVK
  • (Maybe Git, I'm not sure?)

Special file system support

  • ClearCase (dynamic view is a mounted FS; snapshot view is more similar to the single directory case)
情域 2024-09-06 02:23:36

Mercurial = 单个 .hg 目录

Mercurial = a single .hg directory

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