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
It think it would be much better to use ~/.config/git location instead of creating a new folder inside the user home directory, even if it is a hidden one.
@tommarshall Before making any changes we should first do some testing. I am not sure if this works across all platforms and versions of git. I will do some testing and be back with my results.
Thinking about it, it would need to be ~/.config/git/templates/hooks rather than ~/.config/git/hooks.
Neither the githooks docs nor the git-inittemplatedir docs mention the ~/.config/git directory, so it doesn't appear to be an official Git standard for init.templatedir, but I do agree that it would be nicer to house the template dir within ~/.config/git, providing it's safe to do so.
It think it would be much better to use
~/.config/git
location instead of creating a new folder inside the user home directory, even if it is a hidden one.That location is already prefered by git ignored, see https://git-scm.com/docs/gitignore
The text was updated successfully, but these errors were encountered: