I am trying to push to a remote repository and it isn't working.
Here is the code I wrote trying to push:
git config --global user.name "I put my registered github username here"
git config --global user.email "I put my email here the same as that on my github"
git push -u origin master
email@example.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The repository exists. Help out guys.
OK, GitHub is a little off topic, but here we go.
Make sure that you have configured an ssh key at https://github.com/settings/keys
If you haven't, Atlassian have written an article on how to generate one here:
If you have both of those things covered, then make sure that you have write permission on the repository.
Happy 2021, Atlassian Community! 2020 was a year with lots of change. It changed how we work, live, and even interact with our neighbors. As we wrapped up 2020 in December, we got to thinkin...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events