git – error while trying to commit a C++ project

I have made a repository on bitbucket.org for a C++ project.

I downloaded git on my computer installed it and also installed as client, SmartGIT.

  • Moving commit history from few github repos to one bitbucket repo
  • Proper way to release in Git with submodules
  • Merge only two files from Pull request containing 100 files as changed?
  • How do I configure Git to pull from one repo and push to another?
  • Starting a SourceTree git project from scratch
  • merging branches in after many wrong commits
  • I have generated a set of keys by using puttygen. After the generating step, I have added the public key data in bitbucket in the SSH keys section of my project and while cloning the repository on my computer by using SmartGIT, I have added the OpenSSH key saved from puttygen.

    I have added my project in the repository folder from my computer and now, when I try to commit my changes, I receive the following error:

    The remote end hung up unexpectedly.
    conq: repository access denied. access via a deployment key is read-only.
    

    What should I do in order to be able to commit changes on the repository? I am a beginner at using GIT.

  • Eclipse Git Team Provider installation issue on Ubuntu 14.04
  • Preserve git --assume-unchanged files between branch checkouts
  • Git Push Heroku Master error with Rails
  • Filter lines by pattern in bash script
  • Change the commit author of commits starting with a pattern (in message)
  • Git doesn't change line-endings after creating .gitattributes file
  • One Solution collect form web for “git – error while trying to commit a C++ project”

    You’ve most likely added your SSH key to the Deployment Keys section of our project. Keys added there will only give read only access.

    What you want to do is to remove the key from there and instead add it under Manage Account -> SSH keys. Keys added there will give full read/write access to repositories your user has access to.

    I’m not sure what happens if you added a key in both places, but just in case you have, remove the key from deployment keys.

    Git Baby is a git and github fan, let's start git clone.