提交 fba73969 编写于 作者: M Mislav Marohnić

Fix `hub init -g` documentation

`hub init` doesn't imply `hub create`. I've written wrong documentation
in 0a45aa8d

Fixes #1810
上级 0520fab1
......@@ -13,12 +13,12 @@ var cmdInit = &Command{
Run: gitInit,
GitExtension: true,
Usage: "init -g",
Long: `Initialize a git repository and create it on GitHub.
Long: `Initialize a git repository and add a remote pointing to GitHub.
## Options:
-g
After initializing the repository locally, create a "<USER>/<REPO>"
repository on GitHub and add it as the "origin" remote.
After initializing the repository locally, add the "origin" remote pointing
to "<USER>/<REPO>" repository on GitHub.
<USER> is your GitHub username, while <REPO> is the name of the current
working directory.
......
......@@ -37,7 +37,7 @@ git but that are extended through hub, and custom ones that hub provides.
Add missing remotes prior to performing git fetch.
* hub-init(1):
Initialize a git repository and create it on GitHub.
Initialize a git repository and add a remote pointing to GitHub.
* hub-merge(1):
Merge a pull request with a message like the GitHub Merge Button.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册