Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
github
hub
提交
d84e8266
H
hub
项目概览
github
/
hub
9 个月 前同步成功
通知
3
Star
22523
Fork
2406
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
hub
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d84e8266
编写于
8月 18, 2011
作者:
S
Stephen Bannasch
提交者:
Mislav Marohnić
10月 19, 2011
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test and document `hub browse` a single commit
上级
bb3c9b81
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
34 addition
and
2 deletion
+34
-2
README.md
README.md
+6
-0
man/hub.1
man/hub.1
+7
-1
man/hub.1.html
man/hub.1.html
+7
-1
man/hub.1.ronn
man/hub.1.ronn
+6
-0
test/hub_test.rb
test/hub_test.rb
+8
-0
未找到文件。
README.md
浏览文件 @
d84e8266
...
...
@@ -204,12 +204,18 @@ Creates a new public github repository and adds the remote `origin` at
$ git browse
> open https://github.com/YOUR_USER/CURRENT_REPO
$ git browse -- commit/SHA
> open https://github.com/YOUR_USER/CURRENT_REPO/commit/SHA
$ git browse -- issues
> open https://github.com/YOUR_USER/CURRENT_REPO/issues
$ git browse schacon/ticgit
> open https://github.com/schacon/ticgit
$ git browse schacon/ticgit commit/SHA
> open https://github.com/schacon/ticgit/commit/SHA
$ git browse resque
> open https://github.com/YOUR_USER/resque
...
...
man/hub.1
浏览文件 @
d84e8266
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "HUB" "1" "
June
2011" "DEFUNKT" "Git Manual"
.TH "HUB" "1" "
October
2011" "DEFUNKT" "Git Manual"
.
.SH "NAME"
\fBhub\fR \- git + hub = github
...
...
@@ -303,12 +303,18 @@ $ git push origin,staging,qa bert_timeout
$ git browse
> open https://github\.com/YOUR_USER/CURRENT_REPO
$ git browse \-\- commit/SHA
> open https://github\.com/YOUR_USER/CURRENT_REPO/commit/SHA
$ git browse \-\- issues
> open https://github\.com/YOUR_USER/CURRENT_REPO/issues
$ git browse schacon/ticgit
> open https://github\.com/schacon/ticgit
$ git browse schacon/ticgit commit/SHA
> open https://github\.com/schacon/ticgit/commit/SHA
$ git browse resque
> open https://github\.com/YOUR_USER/resque
...
...
man/hub.1.html
浏览文件 @
d84e8266
...
...
@@ -309,12 +309,18 @@ $ git am --ignore-whitespace https://github.com/davidbalbert/hub/commit/fdb9921
<pre><code>
$ git browse
>
open https://github.com/YOUR_USER/CURRENT_REPO
$ git browse -- commit/SHA
>
open https://github.com/YOUR_USER/CURRENT_REPO/commit/SHA
$ git browse -- issues
>
open https://github.com/YOUR_USER/CURRENT_REPO/issues
$ git browse schacon/ticgit
>
open https://github.com/schacon/ticgit
$ git browse schacon/ticgit commit/SHA
>
open https://github.com/schacon/ticgit/commit/SHA
$ git browse resque
>
open https://github.com/YOUR_USER/resque
...
...
@@ -362,7 +368,7 @@ $ git help hub
<ol
class=
'man-decor man-foot man foot'
>
<li
class=
'tl'
>
DEFUNKT
</li>
<li
class=
'tc'
>
June
2011
</li>
<li
class=
'tc'
>
October
2011
</li>
<li
class=
'tr'
>
hub(1)
</li>
</ol>
...
...
man/hub.1.ronn
浏览文件 @
d84e8266
...
...
@@ -228,12 +228,18 @@ authentication?
$ git browse
> open https://github.com/YOUR_USER/CURRENT_REPO
$ git browse -- commit/SHA
> open https://github.com/YOUR_USER/CURRENT_REPO/commit/SHA
$ git browse -- issues
> open https://github.com/YOUR_USER/CURRENT_REPO/issues
$ git browse schacon/ticgit
> open https://github.com/schacon/ticgit
$ git browse schacon/ticgit commit/SHA
> open https://github.com/schacon/ticgit/commit/SHA
$ git browse resque
> open https://github.com/YOUR_USER/resque
...
...
test/hub_test.rb
浏览文件 @
d84e8266
...
...
@@ -684,6 +684,10 @@ config
assert_command
"browse mojombo/bert"
,
"open https://github.com/mojombo/bert"
end
def
test_hub_browse_commit
assert_command
"browse mojombo/bert commit/5d5582"
,
"open https://github.com/mojombo/bert/commit/5d5582"
end
def
test_hub_browse_tracking_nothing
stub_tracking_nothing
assert_command
"browse mojombo/bert"
,
"open https://github.com/mojombo/bert"
...
...
@@ -727,6 +731,10 @@ config
assert_command
"browse --"
,
"open https://github.com/defunkt/hub"
end
def
test_hub_browse_commit_from_current
assert_command
"browse -- commit/6616e4"
,
"open https://github.com/defunkt/hub/commit/6616e4"
end
def
test_hub_browse_no_tracking
stub_tracking_nothing
assert_command
"browse"
,
"open https://github.com/defunkt/hub"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录