mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Add .gitattributes file with Git-style path matches customizing how changed files appear on GitHub (#6940)
This should make it easier to review large PRs with a lot of changes from certain files (like in `**/vendor/**`), by hiding them by default.
This commit is contained in:
14
.gitattributes
vendored
Normal file
14
.gitattributes
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
# Attributes per path
|
||||
|
||||
# This allows for example for customizing how changed files appear on GitHub.
|
||||
# See https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
|
||||
|
||||
# linguist-generated marks matching paths as ignored for the repo language stats and hidden by default in diffs.
|
||||
# See https://github.com/github-linguist/linguist/blob/master/docs/overrides.md#overrides
|
||||
|
||||
**/go.sum linguist-generated=true
|
||||
**/vendor/**/* linguist-generated=true
|
||||
pkg/apiserver-gen/**/* linguist-generated=true
|
||||
pkg/**/mock.go linguist-generated=true
|
||||
pkg/**/mock_Backend.go linguist-generated=true
|
||||
pkg/**/mock_Client.go linguist-generated=true
|
||||
Reference in New Issue
Block a user