I’m not new to git, but I’m not a gitmaster.
I have an existing branch on my git account, that I would like to pull, but when I do this :
git checkout previously_created_branch
I get..
error: pathspec 'previously_created_branch' did not match any file(s) known to git.
Anyone know how to accomplish this?
Git must know from where you want to get the branch
First fetch the changes from your remote repository:
Then you can check it out with
This will create a local branch of the same name, that tracks the remote branch