-
Notifications
You must be signed in to change notification settings - Fork 533
Simplify git commands #487
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
Conversation
Signed-off-by: Ofir Petrushka <hatkyinc@gmail.com>
I think having both It seems like we should have tests for that but I guess we don't since the tests passed with this change. |
the The two switches need to be amended differently for each case and I'm yet to fully get exactly how they work, couldn't find much documented to explain what they mean. |
I'm happy to add tests for these, due they currently fail for other stuff... |
So this is a submodule test it fails for both But my conclusions from it are:
Unless my test is just broken in a way I can't see at the moment 🙈 |
This is a test for worktree new branch checkout, same error as with the submodule |
I think at this point I need help. It's probably something super silly, that's how it usually works 😞 |
@hatkyinc2 I was wondering if you could take a look at #490. In addition to fixing a bug (how the default for |
Closing this for the reasons stated in the comments above. It comes down to the matter that sometimes the |
Description
git -C
to replace the confusing pair of--git-dir
and--work-tree