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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Git is hard

7 点作者 jasonhanley大约 12 年前

3 条评论

darrencauthon大约 12 年前
Using Git can be easy to understand, as it takes only a few commands to make it usable. git commit, git add, git push, git pull, etc. That's enough to get most users, including people that would normally be afraid to use a command line, to a state where they can contribute to a git repo.<p>And if the work is being done in Github, then the person can use the Github apps to just-get-the-work-done. No command line.<p>What makes git hard are the men "helping" the woman in this video. Devs create these crazy rules around branching and rebasing, which results in:<p>1.) Hours wasted while people try to comply with a process they don't understand, and<p>2.) Timid work, as everybody's afraid that stepping on the wrong stone will trip a booby-trap that messes everything up, looping back to (1).<p>There is a workflow that people were following without git. They'd make changes, save them, and then move on. If someone else made changes, they'd bring those changes in (i.e. merge) and move on. In my experience, most people understand that. All of the rebasing nonsense is getting people nowhere.<p>A deep understanding of git should not be a requirement to use git anymore than I shouldn't need to know how my car works to drive to work. The goal is to get where we need to go, not to have the perfect vehicle and trip. Your git repo might get messy sometime, shrug, sorry -- development can be messy sometimes. Use the git experts abilities to clean it up, rather than try to get everybody to a git expert level.<p>Git experts: Keep. It. Simple.
snaky大约 12 年前
That's not about git. That's about ``Fool may throw a stone into a well which a hundred wise men cannot pull out''.
jasonhanley大约 12 年前
This video is funny because it's true.<p>Git is practically unusable for all but the simplest things without a good set of aliases or wrapper scripts.
评论 #5618212 未加载