I'm using two repositories on github named as origin and upstream.
I can checkout to different branch with git checkout [branch-name]
only within origin.
I cannot checkout to another repo upstream.
I have used -t
option but it didn't work.
The error message was:
'upstream/[branch-name]' is not a commit and a branch '[branch-name]' cannot be created from it
I've added two repositories as my remote.
How do I solve this problem?