English 中文(简体)
缩略语
原标题:VCS: push only source code directory

我从事 Java项目的工作。 我怎么只能把源头推到没有临时档案的状态,建立档案和项目档案? 我使用雇佣军。

最佳回答

雇佣军只能推导history,这意味着你只要求其跟踪(hg Add)和后来承诺(hg commitments)将予以推动。

因此,如Jim所说,你应设立.hgignore。 在将文件添加到你的项目中之前,加上“编码”的“hg status只列出你想要补充的档案”。 接着,<代码>hg 添加以添加所有内容。

如果你已经把临时档案和建筑工艺品置于版本控制之下,那么你可以使用<代码>hgabe/code>,停止跟踪这些档案。 你们仍然把他们环绕在历史上,这样,如果我们谈论一些特大问题,那么你很可能想重新造就存放地。

问题回答

建立





相关问题
Tracking Versions, Builds, Revisions, with TortiseSVN

I am the sole developer on a project and have been using tortoiseSVN for quite a while. Now Id like to start getting version information working correctly in the project I.E. show Major Version, Minor ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

How to handle different csproj [closed]

I am working in a team of five. We are working on a C# application with five csprojects. The problem is that for each csproject, each of my colleagues has their own ideas on how to reference a DLL; ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签