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 we register pre-commit hook in .git/hooks, there is a possibility that user doesn't want to use git-pair anymore, so we should add ability to remove created hook by running:
git pair uninstall
It will actually:
Remove all pair.coauthor entries from .git/config (we can use our git pair stop implementation)
rm .git/hooks/pre-commit[-append-coauthors]
I was wondering if we should call it unregister-hooks instead of uninstall. WDYT?
This isn't mapped in README, so remember to update it.
The text was updated successfully, but these errors were encountered:
As we register
pre-commit
hook in.git/hooks
, there is a possibility that user doesn't want to usegit-pair
anymore, so we should add ability to remove created hook by running:It will actually:
pair.coauthor
entries from.git/config
(we can use ourgit pair stop
implementation)rm .git/hooks/pre-commit[-append-coauthors]
I was wondering if we should call it
unregister-hooks
instead ofuninstall
. WDYT?This isn't mapped in
README
, so remember to update it.The text was updated successfully, but these errors were encountered: