Browse Source

Add .git-blame-ignore-revs (#427)

pull/2722/head^2
Oscar Hinton 4 years ago committed by GitHub
parent
commit
afbf6529c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .git-blame-ignore-revs
  2. 20
      README.md

2
.git-blame-ignore-revs

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
# Apply Prettier https://github.com/bitwarden/cli/pull/426
910b4a24e649f21acbf4da5b2d422b121d514bd5

20
README.md

@ -87,3 +87,23 @@ node ./build/bw.js login @@ -87,3 +87,23 @@ node ./build/bw.js login
Code contributions are welcome! Please commit any pull requests against the `master` branch. Learn more about how to contribute by reading the [`CONTRIBUTING.md`](CONTRIBUTING.md) file.
Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the [`SECURITY.md`](SECURITY.md) file.
## Prettier
We recently migrated to using Prettier as code formatter. All previous branches will need to updated to avoid large merge conflicts using the following steps:
1. Check out your local Branch
2. Run `git merge ec53a16c005e0dd9aef6845c18811e8b14067168`
3. Resolve any merge conflicts, commit.
4. Run `npm run prettier`
5. Commit
6. Run `git merge -Xours 910b4a24e649f21acbf4da5b2d422b121d514bd5`
7. Push
### Git blame
We also recommend that you configure git to ignore the prettier revision using:
```bash
git config blame.ignoreRevsFile .git-blame-ignore-revs
```

Loading…
Cancel
Save