入力したコマンド↓
$ git add .
$ git status
$ git commit -m ‘first commit’
‘first commit’でエラーが出ました↓
'error: pathspec 'commit’' did not match any file(s) known to git.'
気にせずに次へ行きました。
$ git remote add origin master git@github.com:TakuKobachi/baseball_app.git usage: git remote add [<options>] <name> <url>
上記の結果↓
' -f, --fetch fetch the remote branches
--tags import all tags and associated objects when fetching
or do not fetch any tag at all (--no-tags)
-t, --track <branch> branch(es) to track
-m, --master <branch>
master branch
--mirror[=<push|fetch>]
set up remote as a mirror to push to or fetch from'
$ git push -u origin master
'fatal: 'origin' 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.'
エラーが出ているのですが意味がよくわかりません。
教えていただければ幸いです。
現在上記の状態ですが下記の状態にしたいです。↓
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/01/14 01:22
退会済みユーザー
2016/01/14 10:22