Skip to content

git-repo external merge with files #3116

Answered by 2-4601
mirsella asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure if I completely understand what you are after but as the docs say:

Using a git-repo external delegates management of the directory to git. chezmoi cannot manage any other files in that directory.

I have not used LazyVim but in its installation docs they tell you to remove the .git folder so maybe it's not meant to be used as a git repository after the initial cloning?

As GitHub also allows downloading repositories as zip packages, you could use .chezmoiexternal's archive type instead of the git-repo type like this:

[".config/neovim"]
    type = "archive"
    stripComponents = 1
    url = "https://github.com/LazyVim/starter/archive/refs/heads/main.zip"
    refreshPeriod = "168h"

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mirsella
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants