You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As reported by @amadeu01, there is a possibility of developer has .git/hooks/pre-commit, if so we can't overwrite it, returning an error when running git pair init.
We also, discussed to introduce a script to create a pre-commit file that would iterate over .git/hooks/pre-commits directory then call it script under it (including our git-pair _append-coauthors call). But I think that we should create a separate issue for this one. WDYT?
The text was updated successfully, but these errors were encountered:
Handling more hooks per trigger seems to be another task outside the scope of the project.
I think if some user already has a hook for pre-commit event trigger, we should let them call the CLI without the hooker.
As reported by @amadeu01, there is a possibility of developer has
.git/hooks/pre-commit
, if so we can't overwrite it, returning an error when runninggit pair init
.We also, discussed to introduce a script to create a
pre-commit
file that would iterate over.git/hooks/pre-commits
directory then call it script under it (including ourgit-pair _append-coauthors
call). But I think that we should create a separate issue for this one. WDYT?The text was updated successfully, but these errors were encountered: