1

我在将 Gollum wiki 与 github 远程 wiki 页面一起使用时遇到问题。

我为这个项目创建了一个 wiki,并在wiki git repo中创建 Wiki 页面。

使用 ssh 克隆 repo:

$ git clone git@github.com:ricardogarfe/python-sample-test.wiki.git

安装咕噜:

$ sudo gem install gollum

在 wiki 存储库中运行 gollum:

$ cd python-sample-test.wiki.git
$ gollum

编辑主页并保存评论。

然后我跑了:

$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
# nothing to commit (working directory clean)

因此,当我使用 gollum 编辑 wiki 页面时,我无法推送到原点。我忘记了任何配置?用户,组在 linux 中进行提交,通过 gollum 自动推送?

使用:

  • 红宝石 1.8.7
  • 宝石 1.8.15

谢谢!里卡多。

4

1 回答 1

2

我没有使用 gollum,所以这可能有点偏离基础,但是您的输出表明有一个尚未推送的提交:

# Your branch is ahead of 'origin/master' by 1 commit.

如果您查看git log -p -1它的输出是否包含您所做的更改?如果是这样,只是git push和你应该设置。

于 2013-01-28T19:38:17.597 回答