How to reset chezmoi #3247
-
Hey guys, I am new to Chezmoi |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you were committing files to git then you can reset your dotfiles repo to a previous commit. See the git documentation for how to do this. Otherwise, you can restore from backup. Otherwise, if you have no git history and no backup, then you can reset the chezmoi source directory by removing it, i.e. |
Beta Was this translation helpful? Give feedback.
If you were committing files to git then you can reset your dotfiles repo to a previous commit. See the git documentation for how to do this.
Otherwise, you can restore from backup.
Otherwise, if you have no git history and no backup, then you can reset the chezmoi source directory by removing it, i.e.
rm ~/.local/share/chezmoi
.