Hello everyone here, i was finally able to push my code to fedora [[ https://pagure.io/fedora-commops/fedora-happiness-packets/]]]]
Here are the steps i followed:
- I created an ssh key and added it to ssh-agent.
To create a key run this command in your terminal
ssh-keygen -t rsa -b 4096 -C "email@example.com" And to add it to ssh-agent run ssh-add ~/.ssh/id_rsa
2). I added my public key to my git account
3.)Then committed my code and pushed it, but it asks for the password to provide access to the private key since you added it to ssh-agent. you have to enter the right password but for my sake i used “ssh-agent”
That’s how i managed to do it .
For more information on this topic you can visit [[[[https://help.github.com/en/articles/connecting-to-github-with-ssh]]]].