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:
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
In addition to @VonC answer: Make sure not to use lfs (Large File Storage) for the wiki. Remove lfs support from your global setting and activate lfs separately for each repository.
To uninstall lfs:
cd /path/to/local/cloned/wiki
git lfs uninstall
To reinstall lf in repositories supporting lfs:
cd /path/to/local/cloned/repository
git lfs install --local
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With