Loading tutorials
git status. It also assumes you know the command line and what a monorepo is. Sparse checkout only makes sense once you separate two things Git keeps apart: the repository data and the working tree. This chapter builds that model.8 min readgit status output. It also assumes you are comfortable in a shell and know what a monorepo is: one repository holding many services and libraries. You need Git 2.35 or later. Git 2.37 and later make cone mode the de6 min readgit status, and that you are comfortable in a shell. You also need the idea from the previous chapters that Git keeps history in the repository and writes only a selected snapshot into the working tree. Here you will learn how cone mode picks wh7 min readgit status. It also assumes you know what a monorepo is and have seen cone mode and `git sparse-6 min readgit sparse-checkout set at least once, as in the earlier chapters. After sparse checkout, some tracked files are not on disk. This chapter explains what Git believes about those files, so you can predict what each6 min readgit sparse-checkout set in cone mode, with the difference between the repository and the working tree, and with partial clones that use --filter=blob:none. You should also know how to read a 7 min readgit sparse-checkout set, and explain the difference between the repository and the working tree. It also assumes you know that the index (the staging area) is a file at .git/index. You need Git 2.34 or later. Many comma8 min readgit sparse-checkout set and git clone --filter=blob:none --sparse. It also assumes you know the difference between cone mode and pattern mode, and what the skip-worktree bit does. Here we look at where the setup breaks down and how to diagnose it.8 min read