Reputation: 1788
first i create an account in bitbucket, then i create a shh private key in puttykeygen, i save the private key "bitbucket.ppk", then i copy the text from public key and i paste in my account in bitbucket, in SSH KEY section. before that, i make a repo in bitbucket called ATOMICO.
this is my question
why can i clone the repo without the private key??
how can i restrict that function???, because everybody can clone my repo and push changes without the private key... i try to clone my repo in other computer and i could push changes
the repo is git clone https://[email protected]/andrescabana86/atomico.git
try to push changes if you can do that tell me
EDIT 2
im following these lines to push
$ git commit -m "cambios from me"
[master 36b6908] cambios from me
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 cambios de mi.txt
wirelan@WIRELAN-HM /E/UPW/webs/atomico (master)
$ git push -u origin --all
Counting objects: 3, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 246 bytes, done.
Total 2 (delta 1), reused 0 (delta 0)
remote: bb/acl: andrescabana86 is allowed. accepted payload.
To https://[email protected]/andrescabana86/atomico.git
eae426a..36b6908 master -> master
Branch master set up to track remote branch master from origin.
tnx all
Upvotes: 0
Views: 1276
Reputation: 1964
$ git clone https://[email protected]/andrescabana86/atomico.git
=> Password for 'https://[email protected]':
Your repository seems pretty private to me. You can clone it to your local machine because of the public/private key pairs that you've set up.
Upvotes: 1