git init→ Reinitialized existing Git repositoryとなります。
既に存在するこのレポジトリを削除して普通の手順でcommitしたいと思うのですが―。よろしくお願いします。(Windows10 Ruby 2.4.4 Rails 5.1.6 )
(初心者です。Windowsアカウント名に問題があるかもとのことでRails等全てアンインストールして新アカウントでやり直しています。以前はgit push heroku master で認証エラーが出るまで特に問題なかったので困っています。何か手順を大きく間違えているのでしょうか?)
Ruby
1git init 2Reinitialized existing Git repository in C:/Users/×××/〇〇〇/.git/ 3 4git add 〇〇〇 5fatal: pathspec '〇〇〇' did not match any files 6 7git status 8On branch master 9No commits yet 10Untracked files: 11 (use "git add <file>..." to include in what will be committed) 12 .gitignore 13 Gemfile 14 Gemfile.lock 15 README.md 16 Rakefile 17 app/ 18 bin/ 19 config.ru 20 config/ 21 db/ 22 lib/ 23 log/ 24 package.json 25 public/ 26 test/ 27 tmp/ 28 vendor/ 29nothing added to commit but untracked files present (use "git add" to track) 30ここで git add ファイル名 ですべてaddしました。 31 32git status 33On branch master 34nothing to commit, working tree clean 35 36git add 〇〇〇 37fatal: pathspec '〇〇〇' did not match any files

回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/06/21 08:53