Made git clone with repo, my branch is master . I need to switch to another branch of the remote repo, which is not locally - test-branch . If you create a branch from the master and pull it there, then conflicts arise and you need to merge it all. And I do not need to merge, you just need to switch to the remote branch without changes from the wizard.
That's when I do it.
git clone remotegit checkout test-branchgit pull origin test-branch
My master and remote test-branch merge, which I don't need. Perhaps there is a way to switch to a remote branch without merging?