-
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 a file from another git repository #330
Comments
Did you try just force adding it? |
Yes, I tried |
I thought this should work. What error message do you get? What error code?
… Message ID: ***@***.***>
|
I did give this a try and it didn't work as I expected it would either. No error, no code, just a silent fail to do anything at all. None of my system layouts run into this circumstance since all my VCSH things are carefully kept upstream of any actual Git repos, but I guess it should be possible to do if you really wanted to. Just brainstorming here, but this may have to do with recent changes to Git's security precautions, although I would have expected an error... |
Temporarily renaming the .git folder of the "donor" repository seems to be a temporary workaround if you need it, @TimotheeMathieu. Once the file is tracked by your vcsh repo, it remains tracked even if its contents change. This appears to be
|
I use vcsh as an archiving tool, adding and commiting important files throughout my laptop.
My problem is that some of the files I'd like to archive are already in another git repository. I don't want to add this git repo as a submodule because this is a bit of a pain and some of these git repo are local anyway so having a submodule for this do not really make sense.
Basically my question is: is there a way to allow vcsh to add files from a folder that contains a .git ?
Thanks.
The text was updated successfully, but these errors were encountered: