Files missing in git clone

So here is what happened:

On machine A, I cloned a shared git repository. Then I started a new branch, added a directory with a bunch of files to it, committed it and pressed the new branch.

On machine B, I then cloned the same shared repository, created a remote tracking branch for the new branch that I clicked, and pulled.

Somehow, some subdirectories of the directory that I added to A did not appear in B, although other subdirectories that were added to the same commit did.

Going back to A, I tried git to add directories that didn't display. Nothing happened. I tried log git in the same directories - the output is empty.

Any ideas what happened and how can I fix it?

+5
source share
2

? Git .

, .gitignore. Git ( ).

+3

.git , , , , "git master checkout" .

+8

All Articles