Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
39
Help us understand the problem. What is going on with this article?
@tomoteru

Gitコマンドエラーとその対応方法(初心者)

More than 3 years have passed since last update.

gitはadd commit push あとはmerge プルリがなんとか。rebaseをちょっとわかってきた新卒エンジニアです。

Gitコマンドででてきたエラーまとめを書いていこうかなと思います。
ググルのめんどいなとおもって・・・

git push -u origin master

エラー

conq: repository does not exist.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
そのリポジトリはもうあるよって言われているので

2018/01/12追記
コメントをいただいたので修正
conq: repository does not exist. => リポジトリがありません。
fatal: Could not read from remote repository. => リモートリポジトリが読めません。
Please make sure you have the correct access rights and the repository exists.
=> あなたが正しいアクセス権を持っているかそのリポジトリが存在することを確認してください。

対応法

git remote set-url origin git@bitbucket.org:ここに名前を入れる/リポジトリの名前.git
bitbucketで出会ったエラーなのでgit@以下は適宜変えます。

2016/11/30編集
追加

参考

参考サイト1
参考サイト2
GitHub実践入門

39
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
tomoteru
加筆・修正中

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
39
Help us understand the problem. What is going on with this article?