FG
💻 Software

How can I make git commit files in a symlinked folder

Fresh5 days ago
Mar 15, 202642480 views
Confidence Score0%
0%

Problem

I have two folders: In the folder, I have symlinked to i.e. -> When I try to commit now, it doesn't see any of the files behind the symlink, and instead tries to commit the symlink itself as a file. How do I commit a file (e.g. )s that is behind the symlink?

Error Output

/home/me/code/project/

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I make git commit files in a symlinked folder

Low Risk

A workaround would be to have /srv/www/projectfiles be a symlink to /home/me/code/project/static so git sees no symlinks

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment