GitPod Hint - error: 403 (Permission Denied)

If you encounter this issue:

remote: Permission to username/online.git denied to username
fatal: unable to access ‘’: The requested URL returned error: 403

or you just don’t want to give direct permission to Gitpod.

You can simply do:
git config --global --unset credential.helper

Use this command every time you rerun the Gitpod before pushing your changes to your forked repo.

Have fun!

1 Like

To Give direct Access to Gitpod.
Under the “Access Control” menu of Gitpod, make sure “write public repos” is checked for GitHub.

did that worked for you @pelinKuran ?

1 Like

Sorry for the late reply, yes that worked for me as well.