TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Git dotfiles without the bloat (rake, yadr, make, kitchen sink)

10 点作者 jpiasetz超过 13 年前

5 条评论

sciurus超过 13 年前
This really is super-simple, and I like that. However, it doesn't handle configuration files that don't go directly in your home directory, such as $HOME/.ssh/config. I wrote something a few weeks ago which does that while remaining conceptually very simple. You can get it at <a href="https://github.com/sciurus/dotfile_management" rel="nofollow">https://github.com/sciurus/dotfile_management</a>
shtylman超过 13 年前
Why not just have a git repo working copy in your $HOME directory? That way you can avoid any symlinking mess. The actual dotfiles are the ones from the working copy.<p>I used to do symlinking but found the working copy in $HOME approach much better.
评论 #3416846 未加载
评论 #3416888 未加载
评论 #3416869 未加载
joeyh超过 13 年前
Fails to delete symlinks to removed dotfiles. Doesn't support splitting dotfiles amoung multiple repositories.<p>I feel that the right solution to this is going to be vcsh.<a href="https://github.com/RichiH/vcsh" rel="nofollow">https://github.com/RichiH/vcsh</a> No symlinks to dotfiles, all the files live in $HOME, but vcsh can be used to switch between accessing different git repositories that contain different of the dotfiles. <a href="http://vcs-home.branchable.com/" rel="nofollow">http://vcs-home.branchable.com/</a> has more.<p>(Also, rake? yadr? vcsh is a posix shell script.)
评论 #3417055 未加载
uncr3ative超过 13 年前
I want to be able to manage other config files that aren't in my home directory at all. Some of them are even owned by root: httpd-vhosts.conf, /etc/hosts, php.ini... any good solution for that? I'm willing for it to be complex if it works.
评论 #3417255 未加载
评论 #3417146 未加载
g3orge超过 13 年前
I can't see the whole line of the code.
评论 #3416804 未加载