Manage Your Dotfiles with Just Git
2025-08-31
Tired of complex dotfile managers like chezmoi, stow, and yadm? This article shows you how to use Git to manage your dotfiles with simplicity. Create a Git repository in your home directory, ignore all files with a `.gitignore`, and then force-add the files you want to track (e.g., `~/.bashrc`). Use `git add -f` or create an alias like `track-file` for easy tracking and syncing across machines. Handle machine-specific configurations with simple hostname checks in your main dotfiles. Ditch the extra tools and manage your dotfiles efficiently with Git!
Development