English 中文(简体)
采用何种良好版本的管制制度,来形容我的整个地方档案系统?
原标题:What s a good version control system to use to version my whole local filesystem?

I m in the specific use case of wanting to methodologically document everything significant I do while setting up my new workstation (running Mac OS X Lion).

我愿在同一存放处对我档案系统中完全不同地点的文件实行控制,例如<代码>/etc、<代码>~/、<代码>/Libraries等。

我的一些想法/细节:

  • This repo will be for personal use only. I ll use a GUI client to browse my settings history.
  • I initially wanted to use Git, hosted in one large Github private repository, but as you can t clone subfolders the way you would do it with SVN, I d have to create symlinks everywhere, which does not seem convenient.
  • So, would I be better off setting up a local SVN server and just checking in the files I want, when I want to version them?
最佳回答

你们可以使用Merecurial,Gite,......,然后简单地忽视了你想要使用的所有档案。 建立存放处,并跟踪其余部分。 和(为雇佣军)一样:

$ cd /
$ hg init
$ echo ".*" > .hgignore
$ echo  ^(?!(etc|Libraries))  > .hgignore
$ hg add
$ hg commit -m "initial checkin"

另一种办法是使用更多的专门工具,例如etckeeper,用于跟踪配置数据。

问题回答

暂无回答




相关问题
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 ...

热门标签