-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Support running as a git submodule. #5227
Conversation
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Merge dev branch
Allow `text-generation-webui` to run as a git submodule within a parent git repo. In standalone git repos, `.git` is a _directory_; in submodules, `.git` is a _text file_ containing a pointer to the commit SHA. This PR simply checks whether `.git` exists instead of requiring it to be a directory, and explicitly specifies the remote and branch names when pulling.
Is it intended for the A consequence of this change is that one_click.py now complains about rebase errors as a result of being unable to reconcile changes between |
Yes, I think it's better to remove that part. I have done that here d921f80 |
Allow
text-generation-webui
to run as a git submodule within a parent git repo.In standalone git repos,
.git
is a directory; in submodules,.git
is a text file containing a pointer to the commit SHA.This PR simply checks whether
.git
exists instead of requiring it to be a directory, and explicitly specifies the remote and branch names when pulling.Checklist: