I\'m not sure why I\'m unable to checkout a branch that I had worked on earlier. See the commands below (note: co is an alias for checkou
co
checkou
I copied remote origin url from another .git/config file, doing so my new .git/config file was missing following line in [remote "origin"] section
url
.git/config
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
Adding above line fixed error: pathspec 'master' did not match any file(s) known to git.
error: pathspec 'master' did not match any file(s) known to git.