1

I want to move my GitHub repo from GitHub to GitLab. I want to move everything(issues, wiki and ...). I use python-github-backup and backup everything but I do not know how to push issues and wiki. I search and find out I can use git push URL/repo.wiki.git but it does not work in my scenario.

How can I push issues and wiki?

2

1 Answer 1

1

You must use git clone, not git push.

To edit Wikis locally, you must first clone the Wiki.
Say, the GitHub username is test, and the repository name is test-repo.

In order to do so, you must run the following command in Git bash:

git clone https://github.com/test/test-repo.wiki.git

About the issues, this may help you do
various operations with issues locally.

Hope this helps. 🙂

3
  • I have md file and want to push them and as I said in question git push github.com/test/test-repo.wiki.git does not work and it does not push it to wiki Commented Nov 3, 2020 at 21:03
  • If I clone and then change and then push it works but when I use python-github-backup it does not create .git and when I create it with git init and ... and after that push it does not work Commented Nov 3, 2020 at 21:06
  • Maybe if you update the Wiki via the GitHub UI could work. Commented Nov 3, 2020 at 21:16

Not the answer you're looking for? Browse other questions tagged or ask your own question.