I already have a GitHub page using as a personal blog. And now I want to create a different Github page, a resume, in another repository using a different theme to my blog so I can't add the resume as a part of my blog.
So, after googling, I knew that I can create several Github page in different repository from the answer of this similar question
Then I try to use the method mentioned in the answer based on my understanding. So I,
Directly push the Resume repository to "gh-pages" using
git push origin gh-pages
And I failed, of course, with the error info below,error: src refspec gh-pages does not match any. error: failed to push some refs to 'https://github.com/SeasonLeee/Resume-Chinese .git'
which let me know that it might because the Resume repository have no branch so that it failed.
2.Then I go to the blog repository to create a branch named "gh-pages", well, this time I don't know how to push a repository, the Resume, to another repository's branch(the blog page's branch, "gh-pages")
Please, help me! I don't know what's wrong! The question I found seems so easy to operate as they simply said: "push the repository to 'gh-pages'". But where exactly is this "gh-pages"? They said it's a branch, then whose branch? If it's the existing Github page's branch, how to add a whole repository to another branch???
I tried the following command, but none of them worked!
git push blog-github-page-repository-name gh-pages
git push https://github.com/SeasonLeee/SeasonLeee.github.io.git gh-pages
Help!!!! I really don't what they said "push the repository to gh-pages branch" means...T^T
If you have some much more simple method, strongly welcome you share to me, thank you in advance!
The Resume cost me like 3 days to build and I want to use it instead of using Microsoft word to make one, I really want to use my programming knowledge even though I know I so suck at present. So thank you whoever happens to see this question and share me your solution, thank you!