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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Things I love about git

26 点作者 xyzzyb将近 13 年前

7 条评论

nathell将近 13 年前
<i>Subversion has no github because subversion can’t have a github.</i><p>Actually, it does have a github. It's called "github" and is available at <a href="http://github.com" rel="nofollow">http://github.com</a>.<p>See <a href="https://github.com/blog/966-improved-subversion-client-support" rel="nofollow">https://github.com/blog/966-improved-subversion-client-suppo...</a>
评论 #4381268 未加载
jlogsdon将近 13 年前
<i>2. Partial commits<p>Commit file X, then commit file Y.</i><p>You can also commit only a part of file X! `git add -i` brings you to an interactive 'add' mode where you can view, split and add each hunk individually.
评论 #4382055 未加载
Sunlis将近 13 年前
I'm on an internship through my University, writing a report for my current employer (as a requirement of said internship program) about their current centralized version control solution (Perforce) and comparing it to a distributed one (Git). Finding sources explaining why Git is "better" is easy, but finding any one arguing the other side is proving to be incredibly difficult.<p>Are there simply no benefits to using a centralized system, or is no one bragging about them like all of these Git fans?
评论 #4382013 未加载
评论 #4381830 未加载
评论 #4381872 未加载
评论 #4382038 未加载
评论 #4381873 未加载
chocolateboy将近 13 年前
&#62; Bisect for bug hunting awesomeness<p>svn-bisect [1]<p>[1] <a href="http://search.cpan.org/perldoc?svn-bisect" rel="nofollow">http://search.cpan.org/perldoc?svn-bisect</a>
评论 #4381559 未加载
评论 #4381547 未加载
molecule将近 13 年前
<i>2. Partial commits... Edited file X and made a fix to file Y? No problem. Commit file X, then commit file Y.</i><p>partial commits can be made @ line level also, w/ `git add --edit`<p><pre><code> -e, --edit Open the diff vs. the index in an editor and let the user edit it... </code></pre> <a href="http://www.kernel.org/pub/software/scm/git/docs/git-add.html" rel="nofollow">http://www.kernel.org/pub/software/scm/git/docs/git-add.html</a>
评论 #4382844 未加载
jeltz将近 13 年前
Subversion actually records merge metadata in recent versions. In my experience though it often still fails to work when working in branches.
评论 #4381887 未加载
评论 #4381303 未加载
hk__2将近 13 年前
<i>No github means no pull requests.</i><p>What? Git <i>has</i> pull requests.
评论 #4381374 未加载