win7 64bitでGit Bash 2.9.0-64-bitを使用しています。なぜ `git checkout -b 3_1`を実行した後に私のマスターブランチを失ったのですか?
lec_yaacというgitリポジトリを作成しました。これは、分岐マスターについての関連情報です:
[email protected] MINGW64 /d/Git/lec_yaac (master)
私はコマンドgit checkout -b 3_1
を実行した後、それは
[email protected] MINGW64 /d/Git/lec_yaac (3_1)
に変更し、私はいくつかのファイルを追加し、commmited。
しかし、私はgit branch
を実行し、それだけのショー、
- 3_1
分岐マスターについては何もありません。
そしてgit checkout master
戻り
error: pathspec 'master' did not match any file(s) known to git.
をコミット –