{"id":15837871,"url":"https://github.com/sambacha/gitattributes","last_synced_at":"2025-04-01T16:41:59.262Z","repository":{"id":48200919,"uuid":"297757320","full_name":"sambacha/gitattributes","owner":"sambacha","description":"git-attributes configurations and generator ","archived":false,"fork":false,"pushed_at":"2021-09-16T20:39:07.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T23:44:29.461Z","etag":null,"topics":["git","gitattributes","gitattributes-generator","gitattributes-templates"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sambacha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-22T19:55:21.000Z","updated_at":"2023-01-06T16:09:34.000Z","dependencies_parsed_at":"2022-09-05T19:50:22.215Z","dependency_job_id":null,"html_url":"https://github.com/sambacha/gitattributes","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fgitattributes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fgitattributes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fgitattributes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fgitattributes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sambacha","download_url":"https://codeload.github.com/sambacha/gitattributes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246672539,"owners_count":20815419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","gitattributes","gitattributes-generator","gitattributes-templates"],"created_at":"2024-10-05T15:42:11.992Z","updated_at":"2025-04-01T16:41:59.241Z","avatar_url":"https://github.com/sambacha.png","language":"JavaScript","readme":"# gitattributes\n\n## Overview\n\n`.gitattributes` to configure your git repo\n\n## Usage\n\n```diff\n# gitattributes\n+ *.build  text\n+ *.cs     text diff=csharp\n+ *.csproj text\n+ *.dll    binary\n+ *.dtd    text\n+ *.html   text diff=html\n+ *.java   text diff=java\n+ *.md     text\n+ *.nuspec text\n+ *.rng    text\n+ *.rngc   text\n+ *.sh     eol=lf\n+ *.bash   eol=lf\n+ *.zsh    eol=lf\n+ *.shfbproj text\n+ *.sln    text\n+ *.snk    binary\n+ *.xml    text\n+ *.xsd    text\n+ *.xsl    text\n+ *.yml    text\n.gitattributes text\nKEY      text\nLICENSE+ * text\n# text files\n+ *.docx diff=word\n# date\ndate+ *.txt filter=dater\n# merges\n# // git config --global merge.ours.driver true\ndatabase.xml merge=ours\n# merge driver custom\n+ package-lock.json merge=npm-merge-driver\n+ npm-shrinkwrap.json merge=npm-merge-driver\n# image formats\n+ *.png diff=exif\n+ *.jpg diff=exif\n+ *.svg diff=exif\n# gpg related\n+ *.gpg filter=gpg diff=gpg\n+ *.asc filter=gpg diff=gpg\n# git archive\ntest/ export-ignore\n# git encryption\n+ secrets.txt filter=git-crypt diff=git-crypt\n# create new definitions for each file. You can also add patterns in the following way:\n+ *.key filter=git-crypt diff=git-crypt\n+ secretdir/+ * filter=git-crypt diff=git-crypt\n\n```\n\n## Examples\n\n```bash\n$ npx npm-merge-driver install\nnpx: installed 52 in 1.953s\nnpm-merge-driver: npm-merge-driver installed to `git config --local` and .git/info/attributes\nworkstation~ /Users/sbacha/sambacha-solidity-coverage master\n$ cat .git/info/attributes\nnpm-shrinkwrap.json merge=npm-merge-driver\npackage-lock.json merge=npm-merge-driver\n```\n\n## LICENSE\n\nSPDX-License-Identifier: ISC/Apache-2.0\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambacha%2Fgitattributes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsambacha%2Fgitattributes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambacha%2Fgitattributes/lists"}