Open xuexb opened 8 years ago
Hi @xuexb just to make sure what you're asking is:
precommit
hook will be deleted?precommit
to other file and create the new one?Please let me know to understand better what is required to do as part of this issue.
hi, am glad to see your reply, I just described above under my doubts, because if I itself is a pre-comment hook, if you use the install, remove or can be prompted to confirm it will be more friendly, I personally tendency in:
To provide a warning to let the user know that the existing precommit hook will be deleted?
Thank you ~
cool man will add a warning to let the user know the existing precommit hook will be deleted. Thanks!
Before I had thought about how to handle the git hook, because .git directory is not under version control, see your precommit, really good, but I just found that when using: When I installed directly covering my pre-commit file,You should check whether a file exists under it. Also when I remove pre-commit will delete the file directly, but no judge is not precommit generated files, thank you ~
Google translation from the above, please forgive me not English ~ thanks