I have this:
git clone --depth=1 <repo> app
cd app
git fetch origin
git checkout a119b1076dd45a88a3609c4f7893ef3d82f9a4ee
but it says:
fatal: reference is not a tree: a119b1076dd45a88a3609c4f7893ef3d82f9a4ee
if I use the name of the branch:
git checkout me/work
I get:
error: pathspec 'me/work' did not match any file(s) known to git.
is it because I did a shallow clone? don't make much sense to me. The commit is on the remote, at the very least the branch/commit with that name is on the remote.
Update:
So I added an --all
to git fetch --all
and then ran git branch -vv --all
and I see:
* master 4761f83 [origin/master] timeline event update date should not be the review date. Every time it is inserted or updated the update date should be the current utc date
remotes/origin/HEAD -> origin/master
remotes/origin/master 4761f83 timeline event update date should not be the review date. Every time it is inserted or updated the update date should be the current utc date
so the branch is not in that list, if that helps someone help me.