jackyzha0 / quartz

🌱 a fast, batteries-included static-site generator that transforms Markdown content into fully functional websites
https://quartz.jzhao.xyz
MIT License
6.82k stars 2.47k forks source link

permission denied & unable to access jackyzha0/quartz repo #1224

Closed oscarplewis closed 3 months ago

oscarplewis commented 3 months ago

In following the steps on this page, when running the command "npc quartz sync --no-pull" in the quartz directory, it runs through what I assume to be the standard lines, displaying the Quartz version and commits. There is then an option to enter the username and password for your git repo that you're setting up to sync with the quartz directory. The following happens for me:

Username for 'https://github.com': USERNAME Password for 'https://USERNAME@github.com': remote: Permission to jackyzha0/quartz.git denied to USERNAME. fatal: unable to access 'https://github.com/jackyzha0/quartz.git/': The requested URL returned error: 403 An error occurred above while pushing to remote origin.

After this the process terminates and returns to an input line in the terminal. I would expect permission to be granted since the jackyzha0/quartz repo is public. For clarification, I did not enter my Github password, but instead entered my Github classic token which grants repository access.

Desktop:

jackyzha0 commented 3 months ago

it should be your own repository, not the upstream quartz one