git checkout master
遊戲我下面的:error: pathspec 'master' did not match any file(s) known to git.
混帳無法檢出空主分支
下面是我開始回購創作步驟:
[email protected] ~/Desktop/repos/mine
$ mkdir git-test
[email protected] ~/Desktop/repos/mine
$ cd git-test
[email protected] ~/Desktop/repos/mine/git-test
$ git init
Initialized empty Git repository in c:/Users/Daniel/Desktop/repos/mine/git-test/.git/
[email protected] ~/Desktop/repos/mine/git-test (master)
$ git checkout -b feat-a
Switched to a new branch 'feat-a'
[email protected] ~/Desktop/repos/mine/git-test (feat-a)
$ git checkout master
error: pathspec 'master' did not match any file(s) known to git.
爲什麼出錯?