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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Git shortcuts like you've never seen before

160 点作者 adito大约 13 年前

9 条评论

mceachen大约 13 年前
Very clever!<p>I had a problem with the installation script failing quietly. Just add this to your ~/.bash_profile to install:<p><pre><code> [ -s "$HOME/.scm_breeze/scm_breeze.sh" ] &#38;&#38; source "$HOME/.scm_breeze/scm_breeze.sh"</code></pre>
Confusion大约 13 年前
Not just git shortcuts: the idea of a short and fast way to switch between projects through a project repository is of mindblowing simplicity. That's going to save me a lot of keystrokes...
评论 #3888381 未加载
skrebbel大约 13 年前
I like it, but these tools are really starting to feel like a very cumbersome reimplementation of TortoiseGit.
评论 #3888273 未加载
评论 #3888245 未加载
评论 #3888824 未加载
lancefisher大约 13 年前
I think I want it for the file shortcuts alone. Those will save me tons of keystrokes.
评论 #3888110 未加载
dave1010uk大约 13 年前
"git add -i" has a similar number-as-a-filename shortcut out of the box but this is much better. I do a "git status" followed by something like "$EDITOR $e1", many times a day.
exDM69大约 13 年前
I have something similar configured with Vim + Fugitive. I use leader+g to prefix git commands, comma being my leader key. For example ",gs" is for git status, ",gb" for git blame, and so on.<p>Do I want something similar in my shell? Hell no. That would add ambiguity and make tab completion less efficient.
slug大约 13 年前
That giganourmous prompt takes too much screen space. Having a few characters left to type at the end without switching lines doesn't seem very appealing to me. At least put a \n somewhere. For the directory name I'm also a fan of \w and PROMPT_DIRTRIM
samuel1604大约 13 年前
I like it but it's kind of slow on my macbook I understand this make much more thing but sometime i have to wait for 1/3 second until it get switched to the new repos. Nice work tho, I guess I just need a SSD upgrade (sigh)
mehulkar大约 13 年前
But I like typing.
评论 #3888298 未加载