4 ms·
Hmmz so with Chezmoi you can't edit your files directly... not very convenient. I'd rather use a bare Git repository : - https://www.atlassian.com/git/tutorial
by DavideNL 4y ago
Hmmz so with Chezmoi you can't edit your files directly... not very convenient.
I'd rather use a bare Git repository :
- https://www.atlassian.com/git/tutorials/dotfiles https://www.atlassian.com/git/tutorials/dotfiles
- https://www.ackama.com/what-we-think/the-best-way-to-store-your-dotfiles-a-bare-git-repository-explained/ https://www.ackama.com/what-we-think/the-best-way-to-store-y...
- shepherdjerred 4y agoI edit my Chezmoi files directly. You can run `chezmoi diff` to see the differences between the Git state and what's actually on disk. I manually apply the changes that I want to keep, and then `git commit` + `chezmoi apply`
- laurentlbm 4y agoThat's why I use https://yadm.io https://yadm.io It's basically a helper for a bare git repository plus some added features.
- DavideNL 4y agoThanks for the tip, looks interesting. Will check it out; I'm still in doubt though, as git will work forever, "without" bugs, and be supported on any OS :-)
- prometheon1 4y agoI'm not a user, but was just checking out the docs and it looks like you can set it up so that you can still edit your files directly and "save" the changes automatically: https://www.chezmoi.io/user-guide/advanced/use-chezmoi-with-watchman/ https://www.chezmoi.io/user-guide/advanced/use-chezmoi-with-...
- vladvasiliu 4y agoYou can edit them directly, you just have to "re-add" them so that chezmoi is aware of the change. Kinda like how you have to git add the files in a basic git repository.