#ターミナル
ApplenoMacBook:portfolio apple$ git push origin master
fatal: 'git@github.com/myusername/myrepository' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
前回、
Username for 'https://github.com': hoge-user
Password for 'https://hoge-user@github.com':
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/hoge-user/repository-name.git/'
というエラーが出たのでvimで修正してもう一度masterにpushしようとするとこのエラーがターミナルに出てきて中々上手くGitの最初のpushができません。
下記のQiitaの記事を参考に、remoteにaddできていないのかと思い、こちら追加したのですが既に存在しているというエラーが出てきて・・・。
要はリモートにレポジトリ名が見当たらないようなんですが全く検討がつかないので、どなたか教えていただきたいです。
https://qiita.com/Ryosuke-Hujisawa/items/de8028cbcf06f726cc9c
#ターミナル
ApplenoMacBook:portfolio apple$ git remote add master https://github.com/myusername/myrepositoryname
fatal: remote master already exists.
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/01/29 09:41
2019/01/29 09:49
2019/01/29 09:51
2019/01/29 09:58
2019/01/29 10:04
2019/01/29 10:17
2019/01/29 10:47