I have a repository in git with two branches, master and develop, I initialize and clone my repository but when trying to change to develop I am in favor of this:
error: pathspec 'develop' did not match any file (s) known to git.
I have a repository in git with two branches, master and develop, I initialize and clone my repository but when trying to change to develop I am in favor of this:
error: pathspec 'develop' did not match any file (s) known to git.
Try first to synchronize your local repository with the remote one and then change the branch
git fetch
git checkout develop