Git pull, ignore depth, how not to pull the whole story?

We have a massive multi-user git repository, which is mainly binary objects.

Cloning takes several days.

The actual branch of the master (without history) is only about 20 MB, so, as I thought, there was a clone with a depth of 1.

However, now I need to pull out some modifications of the wizard (we have no branches), and when I pull out, there is no depth parameter / parameter, so it loads all 2 GB.

Is there a way to pull out only wizards without a story?

I ama git noob (I only use the git turtle), but I am an expert in SVN, CVS, etc.

Note 1: We used SVN, which does not have such problems, but our rather non-technical CIO thought that it would be nice to impose git on the whole company, even those who use mainly binary media, flash, js, etc.

Note 2: I saw this message: Cut updates using git after cloning with -depth 1 , but I did not understand this.

+4
source share

Source: https://habr.com/ru/post/1546592/


All Articles