-
Notifications
You must be signed in to change notification settings - Fork 87
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
Allow to specify where the cloned repo will be placed #80
Comments
I like your solution! What about doing |
I see the potential for a feature which symlinks direct out of With |
@sanbor I forgot to comment on this the other day. We added the |
👍 |
It's important to consider the following situation in the current implementation:
This won't work because the cloned repository is in
~/.fresh/build.new
until the fresh command ends, so the symbolic links won't work.Because that is important to have a
--location
argument.Maybe it's against fresh philosophy to have things outside .fresh dir, but I would like to do something like:
--location
is the place where the cloned repo will be placed--file
is where the link will be placed--writable
indicates that is ok to make changes in that repositoryIf the writable option is specified, then fresh should just do
git pull
instead of rewriting the whole directory.The text was updated successfully, but these errors were encountered: