在没有管理员权限的情况下安装源代码管理

发布于 2024-08-15 05:51:21 字数 244 浏览 10 评论 0原文

我在工作中被迫使用 SourceSafe。这种情况不可能改变。我想并行使用另一个源代码控制来满足我自己的需要。我希望能够保留我的修改历史记录,轻松分支和合并。我可以安装任何不需要管理员权限的应用程序。我无法安装 Python 或文件资源管理器中集成的任何内容。

我不太喜欢命令行,所以 GUI 是必须的。我成功安装了 Mercurial,但没有安装 TortoiseHG。 msysgit 有可能会安装,但 GUI 不是很好。

有什么建议吗?

I'm forced to use SourceSafe at my job. There is no way this is going to change. I would like to use another source control for my own need in parallel. I want to be able to keep an history of my modifications, branch easily and merge. I can install any application that doesn't requires admin rights. I cannot install Python or anything that integrates in File Explorer.

I'm not much of a command line guy so a GUI is a must. I managed to install Mercurial but not TortoiseHG. There is a chance msysgit would install but the GUI isn't very good.

Any suggestions?

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

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

发布评论

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

评论(9

再可℃爱ぅ一点好了 2024-08-22 05:51:21

你可以通过解压来安装 svn 命令行,但是如果你想要 TortoiseSVN 用于 GUI 那么你可能需要管理员权限,不确定。但是,如果您的 IDE 支持 SVN(如 Eclipse 或任何其他 java IDE),则不需要单独的 GUI。

you can install svn command line just by unzipping it, but if you want TortoiseSVN for the GUI then I you may need admin rights, not sure. But you don't need a separate gui if your IDE supports SVN, like Eclipse or any other java IDE does.

累赘 2024-08-22 05:51:21

Git 有一个非常漂亮的命令行界面,带有颜色和自动完成功能。在阅读了 Pro Git Book 后,我发现命令行非常棒。

它捆绑有GUI。它很适合查看日志和合并,但可能不符合您的口味。还有一个 TortoiseGit shell 扩展(如著名的 TortoiseSVN),但这需要管理员权限安装权限(与 Git 便携式相反)。

Git has a pretty nice command-line interface with color and auto-completion. After reading the Pro Git Book I found the command-line is great.

There is GUI bundled with it. It is nice for viewing logs and merges but may be not to your taste. There is also a TortoiseGit shell extension (like the famous TortoiseSVN), but that would require admin privileges to install (as opposed to Git portable).

垂暮老矣 2024-08-22 05:51:21

安装并使用虚拟机产品,然后疯狂地做任何你想要的事情,然后寻找另一份工作。

Install and use a Virtual Machine product and go crazy with whatever you want, then look for another job.

执着的年纪 2024-08-22 05:51:21

我会查看 SourceGear Vault,它具有 SourceSafe 导入和 SourceSafe 功能支持。但这可能需要管理员权限......

I would check out SourceGear Vault, it has SourceSafe Import and SourceSafe Feature support. This may need admin rights though...

烧了回忆取暖 2024-08-22 05:51:21

另一种方法是将目录的副本同步到您确实拥有某些权限的另一台计算机。我会推荐 rsync——我认为有几个可用的 Windows 版本。

在另一台机器上,您现在可以使用您喜欢的任何工具。我知道这是一个拼凑,但在一个你甚至没有足够信任来安装 Python 之类的东西的系统上工作也是如此。

Another tack is to synchronize a copy of the directory to another machine where you do have some rights. I would recommend rsync -- I think there are several Windows versions available.

On this other machine you can now use whatever tools you like. I know it's a kludge, but then so is working on a system where you aren't even trusted enough to install something like Python.

橘亓 2024-08-22 05:51:21

据我所知,任何 TortoiseXX 都需要管理员权限,因为它需要连接 explorer.exe 才能使用它。你应该仍然可以使用 tortoisehg 的 hgtk 部分来访问窗口

AFAIK any TortoiseXX will need admin rights as it needs to hook up explorer.exe to use it. you should still be able to use hgtk part of tortoisehg to get at the windows though

淡淡的优雅 2024-08-22 05:51:21

这是不可能的
改变

我并不是说你应该大喊大叫 svn 或其他什么东西有多棒,并且一直抱怨 VSS。但我发现很难相信,一个合理的建议,即切换到更新、更好的版本控制系统,概述了 VSS 的缺陷(没有安全性——例如,所有用户都对所有内容的历史记录都有写访问权限)会被忽略。

如果您无法安装与资源管理器集成的程序,那么使用任何版本控制系统都意味着学习从命令行使用它!

There is no way this is going to
change

I don't mean to say that you should shout your head off about how svn, or whatever, is great, and moan about VSS all the time. But I find it hard to believe that a well-reasoned proposal to switch to a newer, better version control system outlining the pitfalls of VSS (no security - all users have write access to the history of everything, for example) would be ignored.

If you can't install programs that integrate with explorer, then using any version control system is going to mean learning to use it from the command line!

孤凫 2024-08-22 05:51:21

看看集市(bzr)。我个人没有使用过它,但它声称有一个出色的 GUI,这可能意味着您不需要安装 TortoiseXX。

Check out bazaar (bzr). I've not used it personally but it claims to have an excellent gui which may mean you don't need a TortoiseXX install.

找个人就嫁了吧 2024-08-22 05:51:21

只需从命令行使用版本控制工具即可。这并不痛苦,并且可以通过现有工具轻松实现自动化。 SVN 在与现有版本控制系统交互时不会很好(它对文件/目录的删除、重命名等很挑剔),而 DVCS 工具(我更喜欢 Mercurial)在这方面要聪明得多。

我的建议:使用 Mercurial。它具有健全的忽略规则,因此可以训练它忽略 VSS cruft、包含所有 VC 数据的单个 .hg 目录以及简单的分支(这将帮助您更频繁地改变齿轮)。 git 也很好,但学习曲线更陡峭。

Just use a version control tool from the command line. It isn't painful and it can be automated quite easily via your existing tools. SVN isn't going to be great when interacting with an existing version control system (it is finicky about files/directories being deleted, renamed etc), whereas the DVCS tools (I prefer Mercurial) are much smarter about it.

My recommendation: Use Mercurial. It has sane ignore rules so it can be trained to ignore VSS cruft, a single .hg directory that contains all the VC data, and easy branching (which will help you change gears more often). git is fine too, but has a steeper learning curve.

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