all,
I face error when I try to commit changes directly to Angular Github Page.
I used the following command: git push origin gh-pages However, I see this error warning: "failed to push some refs to 'https://github.com/Savalan11/angularPage.git'" How can I address this issue and successfully commit changes to github page?
Many thanks beforehand..
As there is no log files attached and we can't look into problem properly, here are a few steps you can try to troubleshoot the issue:
git remote -v
and seeing if the repository listed is the one you want to push to.gh-pages
branch should be checked out before running the git push
command.gh-pages
branch. In this case, you will need to resolve the conflicts before you can push your changes. Also, look into similar related topics, for example: git error: failed to push some refs to remotegh-pages
branch.If the problem is not solved yet, it might be helpful to send here the full output with an error.