FG

How to properly store dotfiles in a centralized git repository

Fresh3 days ago
Mar 15, 20264157 views
Confidence Score0%
0%

Problem

I'd like to put all my dotfiles (like .profile, .gitconfig, etc.) in a central git repository, so I can more easily keep track of the changes. I did this, but I would like to know how to properly handle keeping them in sync with the actual ones in ~/. I thought that you could just hard link the two…

Error Output

ln

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to properly store dotfiles in a centralized git repository

Low Risk

Many OS X programs, such as TextEdit, save files in a way that breaks hard links. At least on Linux, symlinks are usually used for this purpose:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment