I have a situation where I have some submodules that I want to do partial checkouts of. I was able to get this working with git sparse-checkout, by manually editing .git/info/modules/NAME/info/sparse-checkout. However, I want this setting to be saved in the repository itself, so that anyone who uses the repository only checks out that one directory in the submodule. Is there a way to store this in some sort of repository-level config vs. the local-level one?
Set up sparse-checkout at the repo level (vs. local config)
31 Views Asked by Francisco Ryan Tolmasky I At
0
There are 0 best solutions below
Related Questions in GIT
- problem to push files on a repository git
- diff3 output in git conflict style, including mergeable hunks
- Git Not In Sync with Local Branch
- Setting up the version control of .dotfiles while the .config is connected to a forked repo
- How to fix overriding the main branch in Git?
- I can't add text to "Message" in VS Code when committing to Git
- How can i redirect pull request from main branch to another branch
- Xcode commits (possibly outside of any branch) disappeared, how to get them back?
- Git/TortoiseGit : how to apply ONLY the changes from ONE commit from branch A, to branch B?
- How can I reintroduce username an password on git using fedora?
- GIT SKIP EMPTY DIRECTORIES
- Git smudge run once per checkout or per commit?
- I can't find ~/.profile or ~/.bashrc in C:/Users/<user>/.ssh folder
- Set environment variable during push for GitHub Actions
- Android WebRTC compile
Related Questions in GIT-SUBMODULES
- Git hook for git worktree doesn't run "git submodule update --init --recursive" properly
- How to switch branches when a feature branch introduces submodule changes?
- How do I fix error in visual studio code of submodules not opening/cloning correctly?
- Airflow - where to place Dataset definition
- Github action mirroring with automatic submodules resolve
- GIT repo with submodule that can point to two different repositories
- Configuring Submodules for GitHub and Gerrit public repo Integration
- Is it possible to use different libraries as git submodules in a turborepo?
- Is it possible to maintain a git submodule under multiple paths?
- Git submodule: link submodule to local development checkout
- Git nested repo in Visual Studio Code
- Submodules: git status vs git checkout - untracked files
- Sharing a submodule between projects without duplicating the submodule files
- Git sub-repository with URL relative to its parent repository
- In SourceTree, Clone seems to bring submodule files from GitHub repos then seems to delete them
Related Questions in SPARSE-CHECKOUT
- How to clone only a git subdirectory and get the date/time of the last commit into that subdirectory
- convert a sparse checkout clone to a full checkout
- Set up sparse-checkout at the repo level (vs. local config)
- How to use git sparse-checkout with multiple matching patterns
- How to undo git sparse-checkout add
- How to generate a tree hash of a git sparse checkout?
- Git sparse checkout^ some root folders fully recursive, some other root folders without subfolders
- Periodically pull a specific folder from one git repository to another
- git sparse checkout and get all branch
- How to set the git sparse-checkout with two depth directory?
- Git sparse checkout a subfolder into a different location inside my repo folder
- How to create a git worktree of sub path
- git sparse checkout unable to switch branches
- git sparse-checkout, missing branch name associated with the commit from the last tag
- Jenkins Git Sparsecheckout multiple repositories
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?