开发者

Lightweight version control software on Linux

开发者 https://www.devze.com 2022-12-22 23:08 出处:网络
I\'m working with a shell account in a shared system and I would like to use some version control software for my bash scripts and config files.

I'm working with a shell account in a shared system and I would like to use some version control software for my bash scripts and config files.

It must works on Linux with no dependencies, ju开发者_如何学运维st unpack it in my home dir. I don't need remote checkout, branching or other fancy tricks. I want to be able to commit my changes and restore them if needed.


Try Git.


fossil.

Single binary.

No dependencies.

Version control.

Built in ticket tracker and wiki.

CLI and web interface.


Mercurial. You can just install it in a local directory and make sure that's in your PATH. It gives you a lot of power.

Update for comment:

Most hosting account have way more storage than you'll ever need (e.g. WebFaction gives you 10GB on a $10/mo account), so install Python locally. When you do the build/install simply add --prefix=/home/you/local. It will create local/bin/, local/lib/, etc. Now you have Python and then you can install Mercurial using your very own python.

If your account has little storage, or is missing critical build tools (like gcc, etc.), then you are using the wrong hosting.


I just found Darcs looking at previous questions. It fits perfectly to my needs.

Thanks Adam for your suggestion but Git depends on several packages which versions are not all available to me.


I use Subversion. Works fine for local access.

I also remotely check out my scripts to most of my shell accounts, I must say. It's a really convenient way to make sure the setup of the different accounts stays aligned.

0

精彩评论

暂无评论...
验证码 换一张
取 消