Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Auto detect text files and perform LF normalization
* text=auto
* text eol=lf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test this PR on macOS:

Affected files:

(base) ➜  semantic-router git:(main) βœ— git rm --cached -r -f .
(base) ➜  semantic-router git:(main) βœ— git add .
(base) ➜  semantic-router git:(main) βœ— git status
On branch main
Your branch is up to date with 'origin/main'.

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
	modified:   .gitattributes
	modified:   .github/workflows/docker-publish.yml

I tested with my changes on macOS,

# Auto detect text files and perform LF normalization
* text=auto eol=lf

and it got same result.

(base) ➜  semantic-router git:(main) βœ— git diff .github/workflows/docker-publish.yml

output:

image


# Binary files - treat as binary, no line ending conversion
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg binary
Loading