Thoughts, Dynamics 365, random business ideas, etc.

Github and Replit not working? Credentials not being saved.

I’ve been working with Replit and using Github to control the code that Replit is generating.

The GitHub integration was working just fine up until a few days ago. I then started getting an error when trying to interact with my repo from GitHub. Either “error: unable to read askpass…” or “fatal: authentication failed for ‘https://github.com’

ChatGPT told me that I could manually create the credentials in Replit’s shell, so I did that.

Here are the commands from the shell.

git config --global credential.helper store
git credential approve
protocol=https
host=github.com
username=[your github username]
password=[your github personal access token]

It’s a pain in the butt and this keeps resetting every time the environment initializes, but this seems to fix it.


Jake Roder

Stuck on something like this?

I’m Jake Roder. I run Tapestries Group, where we help small and mid-sized companies put AI to work and build Power BI reporting their leaders actually trust.

If you are working through something like the post above, grab 20 minutes on my calendar. No pitch, just a conversation. I answer every message personally.

Rather write? Email me.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.