Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add general sparce-edit cmd (replaces readme cmd) #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alfunx
Copy link
Contributor

@alfunx alfunx commented May 18, 2019

This adds a general solution to edit files hidden through sparse-checkout. Feel free to suggest a more suitable sub-command name than edit (alfunx@93dea16#diff-c3ae06f70363066574dc6f52338df7f5R202).

Closes #9

Without this fix, you'll get the following error:

$ dotfiles readme
fatal: Path 'README.md' does not exist (neither on disk nor in the index).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to edit arbitrary sparse files
2 participants