1

Repository am working on is very huge. So I did a sparse checkout and working on folders that are required. Now I wanted to update branch with latest master code.

So here the question is: how to update branch with latest master when done a sparse checkout?

hpaulj
  • 221,503
  • 14
  • 230
  • 353

1 Answers1

0

Once you have set your sparse-checkout file patterns (using the git sparse-checkout set or add command as in here), any future git pull would follow those patterns.

So that is the first command to check (git pull), using a Git recent enough (2.27+)

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250