I wrote git ls-remote c-negation
to retrieve the branches in my repository, which results in:
110bf702ee2653430aea50948dfb26ef0d1785da HEAD 4bff9fa1736ae5a5dc1f3becd4fd941720f04f83 refs/heads/hfix 739851a9d23553a5af23079c2e792952a9a0d93f refs/heads/master 9e1c1b066db9ae97025e985eace17fa5adac1b7d refs/heads/paper 110bf702ee2653430aea50948dfb26ef0d1785da refs/heads/t21 9e39cb92d8e48ff8b2d8bcea7341d0fc01df96ed refs/heads/t21-techrpt 739851a9d23553a5af23079c2e792952a9a0d93f refs/remotes/origin/HEAD be6205b5e8329939027a09456fade70f11a834a5 refs/remotes/origin/hfix 739851a9d23553a5af23079c2e792952a9a0d93f refs/remotes/origin/master 9e1c1b066db9ae97025e985eace17fa5adac1b7d refs/remotes/origin/paper fc23cecde3706e4a4b539de57e31865ecf4fde3e refs/remotes/origin/t21 0c527bc69858161bbe98d94bbdb8cffe653cc796 refs/remotes/origin/weak-seq 3661bc75f3d312a2527f9ace87a31efcd80a2224 refs/stash
However, when I write git checkout t21-techrpt
and check the file c-negation
on my computer, it does not list all the files which are on the online repository. I have tried pulling and fetching and this doesn't make a difference: I still can't see the files on the online repository in the branch t21-techrpt
.
What is going on?