I would just like to ask the git gurus here if this is really possible. I cloned a whole repository, then checked out branch A which tracks the repo's origin/A. I tried to build that snapshot and it got me an error. Now I was tasked to try to clone a --single-branch instead, cloning origin/A only since that was their team's workaround.
My question now is that is this possible? I checked both of the branches' (checked out branch vs cloned single branch) latest revision hash and they're the same, but I found out that when I cloned the whole repo, checked out to branch A, there exists a file but this file does not exist when I did the latter (cloned --single-branch).
What are the possible causes of this? I tried looking for the commit where the file was created using git-log but it returns blank. I tried the same command on another file and it works fine.
PS: when I cloned --single-branch A, I'm at branch A and NOT at origin/A.