#author("2021-06-16T05:13:09+00:00","default:admin","admin") *環境構築 [#hf6e0e72] **[[Git for Windows:https://gitforwindows.org/]] [#j6013b17] -[[私家版 Git For Windowsのインストール手順:https://opcdiary.net/technical/programming/%e7%a7%81%e5%ae%b6%e7%89%88-git-for-windows%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%89%8b%e9%a0%86/]] *diff [#b5e0c965] -[[git diff を徹底攻略!よく使う便利オプションまとめ、完全版。:http://www-creators.com/archives/755]] * gibo [#ub30f2ae] -[[gibo – .gitignoreの雛形を素早く作成できるコマンドラインツール:http://www.softantenna.com/wp/review/gibo/]] -インストール $ brew install gibo -指定項目のリスト表示 $ gibo -l -.gitignore 新規作成(macOS, Xcode, Vim の3つを指定) $ gibo macOS Xcode Vim > .gitignore -追加 $ gibo Swift >> .gitignore *Tips [#ya173144] -[[Gitのリポジトリ(履歴)を初期化する:https://qiita.com/mktshhr/items/578cc5b5aea5b3ed9303]] -[[ローカルのプロジェクトをGitHubへアップロードする方法:https://qiita.com/devzip8/items/28ac253ea295ad6c2b73]] *トラブルシューティング [#p378791d] **Please make sure you have the correct access rights and the repository exists. [#s7042006] -[[Gitで自分のbitbucketの非公開レポジトリからクローンできなくなった:https://applingo.tokyo/article/3391]] -[[githubからcloneするときにPermission denied (publickey)エラーが発生する:https://hacknote.jp/archives/14711/]] --[[ssh-agentを使ってgithubへssh接続する:https://qiita.com/ggg-mzkr/items/fd32e1a6b7353ca52d3c]] -[[gitでPlease make sure you have the correct access rights and the repository exists. が出た時の対処法:https://qiita.com/GakuNaitou/items/81dbbd3ea6211af71648]] -[[【解決方法(画像付き)】急に。git pushしたら「Please make sure you have the correct access rights and the repository exists.」:https://kenjimorita.jp/please-make-sure-you-have-the-correct-access-rights-and-the-repository-exists/]] -[[認証は通っているのにGitでGitHubリモートリポジトリにアクセスすると Permission denied になる問題の原因:https://noraworld.hatenablog.com/entry/fix-that-git-throws-permission-denied]] -[[【git エラー解決策】Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. が出た時の解決方法:https://tusukuru.hatenablog.com/entry/2018/08/29/021651]] -[[【git pushエラー】: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. の対処策:https://papa-programing.jp/git-push-error/]] -[[GitHub解決方法『fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.』Pushできない!:https://shibaemon.com/github-push-fatal/]] -[[ssh内でgit cloneをした際のpermission deniedを解決する:https://www.furusato-s.co.jp/press/2020/06/22/ssh%E5%86%85%E3%81%A7git-clone%E3%82%92%E3%81%97%E3%81%9F%E9%9A%9B%E3%81%AEpermission-denied%E3%82%92%E8%A7%A3%E6%B1%BA%E3%81%99%E3%82%8B/]] -[[GitHubにpushやpullできなくなったときの対処法:http://post.tetsuji.jp/2013/11/solution-of-github-io-disabled/]] -エラー発生時の例 'git-upload-pack' □́A□□□□□R□}□□□h□܂□□͊O□□□R□}□□□h□A □□□□□\□ȃv□□□O□□□□□܂□□̓o□b□` □t□@□C□□□Ƃ□□ĔF□□□□□□□Ă□□܂□□□□B fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ***git-upload-pack [#aacd406f] -[[git for windowsに対してWindows版OpenSSHを使ってリモートからリポジトリのclone/pushする方法:http://tdf.or.jp/d/git-for-windows%E3%81%AB%E5%AF%BE%E3%81%97%E3%81%A6windows%E7%89%88openssh%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%83%AA%E3%83%A2%E3%83%BC%E3%83%88%E3%81%8B%E3%82%89%E3%83%AA%E3%83%9D%E3%82%B8%E3%83%88/]] -システムの環境変数に「C:\Program Files\Git\mingw64\bin」を追加して sshd を再起動 ***does not appear to be a git repository [#ca777454] -[[Herokuにpush時にdoes not appear to be a git repository出た時の対処:https://qiita.com/sayama0402/items/e2c9e65786259dc55e11]]