Search code examples
gitgithubwiki

How to push wiki to github


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.

problem picture


Solution

  • Try the same operation in command line:

    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