-
Notifications
You must be signed in to change notification settings - Fork 124
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 documentation to cover cloning with sudo #263
Comments
@soulofmischief Can you please share the commands/configuration that you use to work with files outside of |
@GeneZharov my When I run It's inelegant and I worry about bugs hiding in the shadows. Perhaps the answer lies with overriding the config location when calling mr so that privileged repos aren't handled at all with |
I think this is effectively a duplicate of #110. I know it doesn't sound to similar but here is my reasoning:
By the way your |
Hi,
When cloning / manipulating repos that have files in protected directories,
sudo
is required.However, the environment must be preserved or vcsh will add configuration files into /root.
I figure we can save someone some potential future grief by mentioning the need for
sudo -E
in such cases.Not sure what part of the docs you would want to stick that into so I haven't done a PR yet.
The text was updated successfully, but these errors were encountered: