jesseduffield / jesseduffield/lazygit

Recursive submodule checkout

Open
#1,371 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

If I'd like to check out an older commit, lazygit only checks out that commit in the main repo, not the related submodules. This creates also a problem if the user clones a repo for the first time. I usually get a false idea that I haven't done something wrong (because submodules are marked as modified) but it is because they are not in sync with the current commit.

It would be good if we could have checked out those submodules recursively. Of course, they could be dirty, then an error message could be shown to the user about it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.