What information is kept in the `.git/shallow` file?

464 views Asked by At

I know git considers a repository shallow if it has a .git/shallow file in the .git directory.

When cat-ing the file on a locally cloned shallow repository of depth 5 I see only one hash while when I run a jenkins job to clone the same repo at depth 5 I see multiple hashes.

What information is kept in this file? How is it determined?

0

There are 0 answers