# Gestion des dotfiles et des secrets avec chezmoi

DevFeed: [Gestion des dotfiles et des secrets avec chezmoi](<https://devfeed.tech/articles/gestion-des-dotfiles-et-des-secrets-avec-chezmoi-26072.md>)

Original publisher: [Read original article](<https://blog.arkey.fr/2020/04/01/manage_dotfiles_with_chezmoi.fr/>)

Author: brice.dutheil@gmail.com (Brice Dutheil)

Published: 2020-04-01T00:00:00Z

Content type: tutorial

Language: fr

Sources: [The Coffee Workshop](<https://devfeed.tech/sources/the-coffee-workshop.md>)

Topics: [chezmoi](<https://devfeed.tech/topics/chezmoi.md>), [dotfiles](<https://devfeed.tech/topics/dotfiles.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [git](<https://devfeed.tech/tags/git.md>), [repo](<https://devfeed.tech/tags/repo.md>), [secrets](<https://devfeed.tech/tags/secrets.md>)

## AI overview

This French tutorial explains how to manage dotfiles and secrets with chezmoi when configuring a new machine. It covers initializing the chezmoi repository, adding files, synchronizing the repository with a remote Git repository, reviewing differences, and applying changes between source and target files.

## Source excerpt

Régulièrement il nous arrive d'avoir à re-configurer une nouvelle machine, avec notamment la re-configuration des fichiers du $HOME. Il y a plusieurs approches et outils, faire une simple archive, utiliser git pour le répertoire $HOME, utiliser des outils comme GNU stow, etc.