3 ms·
From the section on using `git commit --amend`: > This usually happens to me if I merge to master, then run tests/linters. If this happens on more than one oc
by Anthony-G 10y ago
From the section on using `git commit --amend`:
> This usually happens to me if I merge to master, then run tests/linters.
If this happens on more than one occasion, I’d strongly consider creating a pre-commit hook to run tests and/or lint the changed files, e.g., I run `checkbashisms` and `shellcheck` as a pre-commit hook when working on shell scripts.