A
A
Alexander2019-12-21 13:07:02
git
Alexander, 2019-12-21 13:07:02

Why does pull work and push not?

Private repository in bitbucket.
Keys added from two servers. On one everything works fine.
On the other, pull works, but push does not - it says that it is allegedly anauthorized. What could be the problem?

[[email protected] www]$ git push
Unauthorized
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[[email protected] www]$ git pull
remote: Counting objects: 14, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 14 (delta 11), reused 0 (delta 0)
Unpacking objects: 100% (14/14), done.
From bitbucket.org:madzhugin/project
   932b797..be04387  master     -> origin/master
Merge made by the 'recursive' strategy.
 local/includes/tmpl/autoload/filter.php                |   8 +++----
 local/sources/css/autoload/filter.css                  | 104 ++++++++++++++++++++++++++++++++++-------------------------------------------------
 local/sources/pugins/vue-slider-component/material.css |  16 ++++++++++---
 3 files changed, 59 insertions(+), 69 deletions(-)
[[email protected] www]$

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
A
Alexander, 2019-12-21
Madzhugin @Suntechnic

I asked myself - I answer myself:
If the key is added to the repository, then with this key you can only read the repository.
You need to add a key to your account so that you can write to the turnip.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question