Document .copilot folder and remove broken symlink logic from bootstrap.sh #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
.copilotfolder was undocumented andbootstrap.shcontained symlink creation code incompatible with the bare repository pattern.Changes
.copilot/to Repository Structure incopilot-instructions.mdbootstrap.shTechnical Details
The script clones dotfiles as a bare repository to
$HOME/.dotfileswith work-tree set to$HOME:The removed code attempted to create symlinks like:
This fails because bare repositories don't contain working files at
.dotfiles/.copilot- only git objects. Files are already checked out to$HOMEby thecheckout -fcommand, making symlinks both broken and unnecessary.The dotfiles alias (
git --git-dir=$HOME/.dotfiles --work-tree=$HOME) now correctly tracks changes in all directories including.copilot.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.