{"version":"2.1.331","anchor":"returning-to-the-original-directory-now-also-handles-symlink","canonical_anchor":"returning-to-the-original-directory-now-also-handles-symlink","heading":"Returning to your original folder now handles folders that point elsewhere","tier":"notice","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/returning-to-the-original-directory-now-also-handles-symlink","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Returning to your original folder now handles folders that point elsewhere\n\nWhen Claude Code returns to the folder you started in, it now treats a folder that leads elsewhere like a missing one and warns you\n\n**What**\n\nWhen Claude Code moves you back to the folder you started in, for example after leaving a worktree (a separate working copy of your repository), it checks that the folder is still there. It now also treats a folder that leads somewhere else, such as a symbolic link (a shortcut to another location), the same way as a folder that no longer exists. The warning has changed from saying the original folder no longer exists to saying it is gone or leads elsewhere.\n\n**Why**\n\nLeaving a worktree copes better when your starting folder has been replaced or redirected, and the warning tells you which situation you are in.\n\n- Area: Worktrees\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}