Skip to content

Add setup script for private/local symlink and git skip-worktree #151

@jaeyeom

Description

@jaeyeom

Summary

Create a setup script in the spacemacs directory that automates the local environment setup for the Spacemacs/Emacs config.

Tasks

  1. Create a symbolic link for private/local to the desired target
  2. Run git update-index --skip-worktree private/local/README.md to hide the deletion from git status

Why

When private/local is symlinked to another location, git reports private/local/README.md as deleted. Rather than modifying .gitignore, --skip-worktree cleanly hides this expected local change. A script ensures this setup is reproducible and documented.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions