-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
duet-pre-commit + git solo not working #68
Comments
Hi @bguedel, Thanks for such a detailed issue report! Unfortunately, I'm having trouble reproducing. I did the following:
Is this similar to what you did? Given the behavior you are seeing, it seems like there is something significant wrong (e.g. maybe it can't parse your config file) that is not giving you an appropriate error message. |
I ran the commands and then a commit. git solo me
git commit -am "test0"
# you need to run git duet or solo
git duet me hr
git commit -am "test1"
# great success
# make a change
git solo me
git commit -am "test2"
# success ++ co-authored-by: hr in the mean time i have been running git duet me me for solo sessions. I dont remember the full issue from before. Let me clean up my config and hooks and start from scratch to see what happens. Ill try to update back here soon. |
I will note that i have the exports in my shell profile. (in this case its zsh) ill run git duet-install-hook pre-commit 1 time in 1 git repo, then i run git init in other projects. |
Hmm, when you run
? Can you try
|
Hi, I guess this behaviour has been fixed by #82 and will be applied in future version. You can try exporting the environment variable |
I have the same issue as @bguedel, and running |
same issues here (having the pre-commit hook), solution by @avonengel works for me and removes the commiter data so the commits shows I'm the only developer after solo. |
Configuration
.git-authors
hooks
pre-commit
prepare-commit-msg
When doing a git solo
The text was updated successfully, but these errors were encountered: