I changed my Github password and now I'm unable to push/pull from any of my local repos to/from Github. Gitbox (http://www.gitboxapp.com/) prompts me for a username/password which I input (have double and triple checked!) but then fails with the error:
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/{myproject}/{myrepo}/info/refs
fatal: HTTP request failed
Doing a "defaults delete com.oleganza.gitbox" doesn't fix it either. :/
Any thoughts?
Entering Git Username and Password in Remote URL To prevent Git from asking for your username and password, you can enter the login credentials in the URL as shown. The main drawback of this method that your username and password will be saved in the command in the Shell history file.
If Git prompts you for a username and password every time you try to interact with GitHub, you're probably using the HTTPS clone URL for your repository. Using an HTTPS remote URL has some advantages compared with using SSH.
The most likely reason for this is that Git has been configured to use a credential helper. The configuration could have been made a) for all users in your system b) only for your user c) for a specific repository.
Try this:
open Keychain Access.app, search for GitBox, and delete the relevant entry there (in the "All items" category in the left pane).
Then try GitBox again — it should accept the new password.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With