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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Git-wtf : Displays the state of your repository in an easily readable format

48 点作者 r11t超过 15 年前

3 条评论

timf超过 15 年前
The link is to the source code. If you'd rather understand what this does by seeing example output (without running it), see:<p><a href="http://git-wt-commit.rubyforge.org/#git-wtf" rel="nofollow">http://git-wt-commit.rubyforge.org/#git-wtf</a>
评论 #979124 未加载
tlrobinson超过 15 年前
Works great with this little script I wrote to execute commands on all my repos:<p><pre><code> #!/bin/sh REPOS="\ $HOME/git/repo1 \ $HOME/git/repo2 \ $HOME/git/repo3" for REPO in $REPOS; do echo "==============" echo $REPO if [ -d "$REPO" ]; then pushd "$REPO" &#62; /dev/null sh -c "$1" popd &#62; /dev/null else echo "$REPO doesn't exist" fi done echo "==============" </code></pre> Save it as "eachrepo" or something, then do<p><pre><code> eachrepo "git wtf"</code></pre>
评论 #979461 未加载
tptacek超过 15 年前
God bless you and your children and your childrens childrens children, for 7 weeks.