update README to discuss `git-blame-ignore-revs`
This commit is contained in:
Родитель
0ae5f8b061
Коммит
cc7293ac43
10
README.md
10
README.md
|
@ -46,6 +46,16 @@ To run linting/formatting as you type or upon save, add the ESLint and Stylelint
|
||||||
```
|
```
|
||||||
See here for more on Stylelint config with VSCode: https://github.com/stylelint/vscode-stylelint#editorcodeactionsonsave
|
See here for more on Stylelint config with VSCode: https://github.com/stylelint/vscode-stylelint#editorcodeactionsonsave
|
||||||
|
|
||||||
|
### GIT
|
||||||
|
|
||||||
|
We track commits that are largely style/formatting via `.git-blame-ignore-revs`. This allows Git Blame to ignore the format commit author and show the original code author. In order to enable this in GitLens, add the following to VS Code `settings.json`:
|
||||||
|
```
|
||||||
|
"gitlens.advanced.blame.customArguments": [
|
||||||
|
"--ignore-revs-file",
|
||||||
|
".git-blame-ignore-revs"
|
||||||
|
],
|
||||||
|
```
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
|
|
||||||
1. Clone and change to the directory:
|
1. Clone and change to the directory:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче