ghp-import
ghp-import copied to clipboard
Authentication to GitHub fails execting ghp-import
I have a project in PyCharm and via the command line run the recommended command for adding gh pages for jupyter-book (https://jupyterbook.org/en/stable/publish/gh-pages.html option 2) using ghp-import. When I do this it prompts for username and password and then quits because the repo I want to install it on is not on my personal account, but on an organizational account.
As you can see it tries 'https://github.com/stuchalk/WFChemCookbook.git/' but the repo is actually at ''https://github.com/iupac/WFChemCookbook.git/'.
How do I get ghp-import to allow me to authenticate to an organization?
ghp_import isn’t doing anything interesting with authentication so I’d assume that this is a problem linked to the configuration of the underlying remote. From the screenshot it looks like you’re using https to do the push with an account password which is a feature that was removed from GitHub recently (see changelog). Try using a personal access token or SSH key instead of the password as described here.
@stuchalk Closing this as I haven't heard back in a while. Feel free to re-open if this is still an issue for you :raised_hands: