如何将Wiki推送到github [英] How to push wiki to github

查看:254
本文介绍了如何将Wiki推送到github的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我克隆了存储库的Wiki并在本地进行了编辑,但是当我将更改推送到Github时,它失败了. Wiki操作的帮助很短,我无法弄清楚.如果您知道如何解决此问题,请提供帮助.谢谢.

I cloned wiki of my repository and edited locally, it failed when I push the changes to Github. The help of wiki operation is very short, I cannot figure it out. Please help if you know how to fix this. Thanks.

推荐答案

在命令行中尝试相同的操作:

Try the same operation in command line:

在本地克隆了Wiki并修改/添加了文件后,请执行以下操作:

Once you have cloned your wiki locally, and modified/added files, do:

cd /path/to/local/cloned/wiki
git add .
git commit -m "new files"
git push

这篇关于如何将Wiki推送到github的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆