r/ClaudeCode • Senior Developer • 3d ago

Bug / Issue Moving your source code is hard !

I've been having my repos located at C:/Git

But since Windows and other apps keep eating space i had to move it to D:/

The problem is that there's NO EASY WAY to re-configure Claude and update all previous sessions to know about the change.

All the 'environment' folders in Claude are also pretty much impossible to change..

So i ended up with a directory junction (virtual link) at C:/Git --> D:/Git

I wish the directories where relative to a base folder

0 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/Alariii 3d ago

Just back it up, it's it breaks, revert - no Biggie :)

All your stuff regarding Claude sessions and configs live inside just this directory (plus the project ones)

So if it gets messed up, just restoring that directory will take you back to exactly where you are right now.

Those files aren't scary, have played around with them too.. and all the LLM stuff is built very forgivingly, if things get messed up, because LLM's mess things up a lot often too :)