-
Notifications
You must be signed in to change notification settings - Fork 29
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
Can you reuse the cloned repository directory with Squit? #352
Comments
I have used a single disk repository since the beginning of Squot. Multiple copies of my working image, and some clean trunk images have been working on this repository. And the Git command line since fetching is too costly for me due to #34. The only problems I had was in early 2017 when FileSystem-Git still had some bugs, which got the repository slightly corrupted at times. But I have not seen such problems or heard of them in the last three years. Be aware though that if two images have the master branch checked out, the image in which you did not commit the last time will be "behind" the head of the branch and there is no indication of that. You can use "Merge objects" in this case, but you have to know yourself whether or not you have already done it. |
In case you do not know how to achieve this: just use "New project" > "Add new project" and choose the working directory or .git directory. If there is already a repository there, it will just pick it up (but not check it out yet). |
Thank you very much, that answered all of my questions! :-) |
If I do |
I usually |
The cause is that Squeak may update the checked-out branch of the disk working copy, but it will not update the files of the disk working copy, and also not the index. So if you look at the disk working copy again to Git it looks like you have reverted all the changes of the commits that happened in the meantime. |
Is it possible or recommended to connect the same local git folder to Squot in multiple images, given that Squit is not actively used simultaneously in both images? And can I also use the same directory with my local git client (outside of Squeak) at the same time? Or might any of these attempts result in unexpected failures and data loss and stuff? :-)
The text was updated successfully, but these errors were encountered: