BITS-Research / OSHI

Research on Open Source Hardware and Instrumentation
MIT License
1 stars 0 forks source link

unable to push from local to remote #3

Closed nguyen-info closed 4 years ago

nguyen-info commented 4 years ago

When I git push from my local repo to the remote repo, even after I carefully log in with my credentials, I'm unable to commit then push from my local repo to the remote repo. I get this error:

remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/BITS-Research/OSHI.git/'

Did permission settings change?

nguyen-info commented 4 years ago

This was due to my failed attempt at creating an SSH key, but it is now fixed. For future reference, here's how to set up an SSH key to avoid having to type in your password for each push:

Note: The second and third lines are indented with two spaces.