简体   繁体   中英

How do I 'lfs pull' on a specific submodule?

I need to perform an lfs pull for a specific git submodule.

How can I perform a 'git lfs pull' on a specific submodule?

Submodules are normal Git repositories, so you can just change into it with cd or by using the -C option to git . So if your submodule were in foo/bar , you'd write the following:

$ git -C foo/bar lfs pull

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM