Skip to content

Commit d246131

Browse files
authored
Set up blame to skip formatting commits
1 parent baabaf9 commit d246131

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

githelp.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ git config --global core.editor "code --wait"
196196
# Blame
197197
git blame -c config\mysql\staging\changes\2.12\492_insert_image_id_in_cc_image_format_mapping.sql
198198

199+
# Set up blame to skip formatting commits
200+
echo "erf9e8f" > .git/config/.git-blame-ignore-revs
201+
git config blame.ignoreRevsFile .git-blame-ignore-revs
202+
https://stackoverflow.com/questions/53502654/how-do-i-run-a-code-formatter-over-my-source-without-modifying-git-history
203+
199204
# Cleaning unversioned files:
200205
git clean -f -d
201206

0 commit comments

Comments
 (0)