Skip to content

Commit

Permalink
Ignore large scale automatic linting commits.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Jun 5, 2024
1 parent 2de870d commit 8fd97ed
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Run this command to always ignore formatting commits in `git blame`
# git config blame.ignoreRevsFile .git-blame-ignore-revs

# Applied black to the codebase
7dadc107cebd3ab4597f1aa4f159940872466dec

# Reformatted all frontend code using prettier v3
37f461c371f2d36fb39a629e5452f0e118b6f808
6 changes: 6 additions & 0 deletions docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ Next, initialize Git LFS:
cd kolibri # Enter the Kolibri directory
git lfs install
To make git blame more informative, we keep track of commits that make a lot of changes to the codebase but are not directly related to the code itself, like large scale automatic code formatting. To prevent these commits appearing in the blame output, run:

.. code-block:: bash
git config blame.ignoreRevsFile .git-blame-ignore-revs
Finally, add the Learning Equality repo as a remote called `upstream`. That way you can keep your local checkout updated with the most recent changes:


Expand Down

0 comments on commit 8fd97ed

Please sign in to comment.