Re: git command to run .hooks/prepare-commit-msg
- Reply: Warner Losh : "Re: git command to run .hooks/prepare-commit-msg"
- In reply to: Warner Losh : "Re: git command to run .hooks/prepare-commit-msg"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jul 2021 14:52:19 UTC
On Sat, Jul 03, 2021 at 11:07:59AM -0600, Warner Losh wrote: > On Sat, Jul 3, 2021 at 11:00 AM Nuno Teixeira <eduardo@freebsd.org> wrote: > > > ---------- Forwarded message --------- > > De: Nuno Teixeira <eduardo@freebsd.org> > > Date: sábado, 3/07/2021 ŕ(s) 17:57 > > Subject: git command to run .hooks/prepare-commit-msg > > To: FreeBSD Mailing List <freebsd-ports@freebsd.org> > > > > > > Hello, > > > > I can't find git command so I can run .hooks/prepare-commit-msg when I > > commit. > > > > Please see > https://docs.freebsd.org/en/articles/committers-guide/#git-mini-primer-getting-started > at the end of the 'Dialy Use' section for the details. It would seem you > have the path > a bit confused. It's not .hooks, but rather .git/hooks. It is .hooks. -- Mathieu Arnold