chore: add .git-blame-ignore-revs (#11212)

This commit is contained in:
翠 / green 2022-12-06 15:36:19 +09:00 committed by GitHub
parent 825c7939ef
commit b27eba3867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

4
.git-blame-ignore-revs Normal file
View File

@ -0,0 +1,4 @@
# chore: enable prettier trailing commas (#11167)
134ce6817984bad0f5fb043481502531fee9b1db
# chore: rename test packages (#11172)
5170e44920458090b8b43ee9cfe5010c25dfe22b

View File

@ -18,6 +18,15 @@ You can alternatively use [Vite.js Docker Dev](https://github.com/nystudio107/vi
> Vite uses pnpm v7. If you are working on multiple projects with different versions of pnpm, it's recommended to enable [Corepack](https://github.com/nodejs/corepack) by running `corepack enable`.
### Ignoring commits when running `git blame`
We have a `.git-blame-ignore-revs` file to ignore formatting changes.
To make this file used by `git blame`, you need to run the following command.
```sh
git config --local blame.ignoreRevsFile .git-blame-ignore-revs
```
## Debugging
To use breakpoints and explore code execution, you can use the ["Run and Debug"](https://code.visualstudio.com/docs/editor/debugging) feature from VS Code.