-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Update README to use a hidden bare repo #46
base: master
Are you sure you want to change the base?
Update README to use a hidden bare repo #46
Conversation
This hides the bare repo files in a `.bare` repository.
interesting approach. I may not use it myself, but I do like it. I am unsure how it will work with the plugin though. We do need to be in the git root to run. This would put you in a folder that is not quite the git root. |
have you tested this yourself? I'll do some testing in a bit. |
I'm using it with Samba ... We also updated our scripts so it works with worktrees ... https://gitlab.com/samba-team/samba/-/commit/8858cf72af1cc15784749e58f184559a839dd4ef |
I tested this and it almost works, but I will stick to what is currently in the README. This PR:
I do like to have git files hidden and not mixed with branches. Also - Thanks for the plugin & youtube video(s), good stuff. |
I just switched to using a .bare directory, working a fix to make it work. this in my opinion is the best way to use worktrees since all the folders in the folder are your worktrees (you do not see all the git specific stuff). Once I get it working this PR should be changed so that both ways are presented |
I would like to see the README updated to show both ways of generating a bare repo and not just replacing what is there |
Do we need the Tested with the following, and it seemed to be working well with this plugin
|
This hides the bare repo files in a
.bare
repository.