I am trying to test mess around with git. I made an account on BitBucket and I created a folder called test. I made it a repo and I tried to connect it to the BitBucket.
SSH is the protocol that I used. I created that ssh through terminal with the command
ssh-keygen -t rsa -C "firstname.lastname@example.org"
Of course I have put my real email there. Then I called that key id_rsa2 and it created private and .pub type of file, which I guess it should. Then I accessed that .pub key and copied and pasted into the bitbucket in settings of my profile.
After that I created a .txt file, just for testing purposes, made some changes to it and did a classic
$ git add .
$ git commit -m "My first commit to BitBucket"
and the finally
$ git push origin master
That should have done the job and pushed the file to the BitBucket. Here is the error that I got in the Git Bash command line (link below , sorry I just could not get the image going )
Can anyone guess what the heck is going on and why do I have this type of error ?