0

I've been trying for the last day to add a local project to a repository in bitbucket.

Created an ssh key, added it to the repository. The repository is mine. I created. Yet i can't push the project. I tried tthe guide in bitbucket. the last command git push -u origin master bring up an error

Error git

I tried git push --all. It brings up a window asking for git credentials then a smaller window openssh asks for the password of the repo. I created the repo so i can share my work with my academic and professional supervisors

thanks

Edit : i tried this question question link but it didn't solve my problem

Julian
  • 33,915
  • 22
  • 119
  • 174
Unknwon
  • 7
  • 4

1 Answers1

1

First download git: https://git-scm.com/downloads

when you are installing it, make sure you install the gitGUI with it. After that open the Git GUI and follow the instruction below:

enter image description here

Click the Generate Key button:

enter image description here

copy the key to the clipboard and add it to bitbucket as follows: Go to your account settings. And add the key there.

enter image description here

enter image description here

Now go to your project folder(local). Open that directory with gitGUI.

enter image description here

Then add the bitbucket SSH link to it.

enter image description here

After that, the GUI is pretty much intuitive. I think you have the knowledge to continue.

Lahiru Karunaratne
  • 2,020
  • 16
  • 18