There is a project on Butbucket (private). Until recently, I used Bitbucket almost as a backup copy, connecting from one workplace.
Now I need to add a second computer from which I work. And make the opportunity to push change.
In the second workplace, I generated a pair of open-private key, the open one added in “Settings” - “Deployment Keys”. But it says the following: “Use deployment keys to gain read access to this repository.” That is, I can not push from the second workplace. Git says the following:
> git push conq: repository access denied. access via a deployment key is read-only. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
On the “Settings” tab - “Access Control” there is only one user who was created when creating the repository, and under which I can work from the first workplace. In the second workplace, I have the same username and email of the user (because I am the same person). But from the second workplace I can not push. Here I found advice:
http://friendfeed.com/bessarabov/619035bd/email?embed=1
To give access to a private repository, you need to specify the person’s email, and not his login on the beatbox.
I decided to make a second entry in the access control, but specify not a login (which is already there), but email. As a result, the bitback shows the error:
{«error»: {«message»: «'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)», «detail»: " File \«/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/piston/resource.py\», line 208, in __call__\n result = checked_meth(request, *args, **kwargs)\n File \«/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/piston/resource.py\», line 195, in checked_meth\n return meth(*args, **kwargs)\n File \«/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/newrelic-2.18.1.15/newrelic/hooks/component_piston.py\», line 33, in __call__\n return self._nr_wrapped(*args, **kwargs)\n File \«/opt/python/domains/bitbucket.org/2014-05-07/bitbucket/../bitbucket/apps/bb/decorators.py\», line 38, in wrap\n return f(request, *a, **kwa)\n File \«/opt/python/domains/bitbucket.org/2014-05-07/bitbucket/../bitbucket/apps/api/v10/decorators.py\», line 386, in wrapper\n resp.content = str(e)\n", «id»: «b46672c0ff36478e9140bc8bd8a47cbd»}}
I'm dumb at all. Such a simple action, how to add a second workplace, I can not do. Help plz.