{"id":13410531,"url":"https://github.com/git-lfs/git-lfs","last_synced_at":"2025-05-12T15:13:39.345Z","repository":{"id":10759591,"uuid":"13021798","full_name":"git-lfs/git-lfs","owner":"git-lfs","description":"Git extension for versioning large files","archived":false,"fork":false,"pushed_at":"2025-05-02T04:58:17.000Z","size":19522,"stargazers_count":13420,"open_issues_count":433,"forks_count":2087,"subscribers_count":482,"default_branch":"main","last_synced_at":"2025-05-05T11:14:48.424Z","etag":null,"topics":["git","git-lfs","go"],"latest_commit_sha":null,"homepage":"https://git-lfs.com","language":"Go","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/git-lfs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-09-22T22:03:28.000Z","updated_at":"2025-05-05T09:02:52.000Z","dependencies_parsed_at":"2023-10-14T18:20:32.858Z","dependency_job_id":"7d8d0b30-2f94-404a-b550-56cfe712d218","html_url":"https://github.com/git-lfs/git-lfs","commit_stats":{"total_commits":6660,"total_committers":238,"mean_commits":"27.983193277310924","dds":0.7201201201201202,"last_synced_commit":"41612f7cb5de921303534142ee5bc51444df670f"},"previous_names":["github/git-lfs","hawser/git-hawser","github/git-media"],"tags_count":105,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-lfs%2Fgit-lfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-lfs%2Fgit-lfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-lfs%2Fgit-lfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-lfs%2Fgit-lfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/git-lfs","download_url":"https://codeload.github.com/git-lfs/git-lfs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252498800,"owners_count":21757869,"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","git-lfs","go"],"created_at":"2024-07-30T20:01:07.518Z","updated_at":"2025-05-05T12:38:25.114Z","avatar_url":"https://github.com/git-lfs.png","language":"Go","readme":"# Git Large File Storage\n\n[![CI status][ci_badge]][ci_url]\n\n[ci_badge]: https://github.com/git-lfs/git-lfs/workflows/CI/badge.svg\n[ci_url]: https://github.com/git-lfs/git-lfs/actions?query=workflow%3ACI\n\n[Git LFS](https://git-lfs.github.com) is a command line extension and\n[specification](docs/spec.md) for managing large files with Git.\n\nThe client is written in Go, with pre-compiled binaries available for Mac,\nWindows, Linux, and FreeBSD. Check out the [website](http://git-lfs.github.com)\nfor an overview of features.\n\n## Getting Started\n\n### Installing\n\n#### On Linux\n\nDebian and RPM packages are available from packagecloud, see the [Linux installation instructions](INSTALLING.md).\n\n#### On macOS\n\n[Homebrew](https://brew.sh) bottles are distributed and can be installed via `brew install git-lfs`.\n\n#### On Windows\n\nGit LFS is included in the distribution of [Git for Windows](https://gitforwindows.org/).\nAlternatively, you can install a recent version of Git LFS from the [Chocolatey](https://chocolatey.org/) package manager.\n\n#### From binary\n\n[Binary packages](https://github.com/git-lfs/git-lfs/releases) are\navailable for Linux, macOS, Windows, and FreeBSD.\nThe binary packages include a script which will:\n\n- Install Git LFS binaries onto the system `$PATH`.  On Windows in particular, you may need to restart your command shell so any change to `$PATH` will take effect and Git can locate the Git LFS binary.\n- Run `git lfs install` to perform required global configuration changes.\n\n```ShellSession\n$ ./install.sh\n```\n\nNote that Debian and RPM packages are built for multiple Linux distributions and versions for both amd64 and i386.\nFor arm64, only Debian packages are built and only for recent versions due to the cost of building in emulation.\n\n#### From source\n\n- Ensure you have the latest version of Go, GNU make, and a standard Unix-compatible build environment installed.\n- On Windows, install `goversioninfo` with `go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@latest`.\n- Run `make`.\n- Place the `git-lfs` binary, which can be found in `bin`, on your system’s executable `$PATH` or equivalent.\n- Git LFS requires global configuration changes once per-machine. This can be done by\nrunning: `git lfs install`\n\n#### Verifying releases\n\nReleases are signed with the OpenPGP key of one of the core team members.  To\nget these keys, you can run the following command, which will print them to\nstandard output:\n\n```ShellSession\n$ curl -L https://api.github.com/repos/git-lfs/git-lfs/tarball/core-gpg-keys | tar -Ozxf -\n```\n\nOnce you have the keys, you can download the `sha256sums.asc` file and verify\nthe file you want like so:\n\n```ShellSession\n$ gpg -d sha256sums.asc | grep git-lfs-linux-amd64-v2.10.0.tar.gz | shasum -a 256 -c\n```\n\nFor the convenience of distributors, we also provide a wider variety of signed\nhashes in the `hashes.asc` file.  Those hashes are in the tagged BSD format, but\ncan be verified with Perl's `shasum` or the GNU hash utilities, just like the\nones in `sha256sums.asc`.\n\n## Example Usage\n\nTo begin using Git LFS within a Git repository that is not already configured\nfor Git LFS, you can indicate which files you would like Git LFS to manage.\nThis can be done by running the following _from within a Git repository_:\n\n```bash\n$ git lfs track \"*.psd\"\n```\n\n(Where `*.psd` is the pattern of filenames that you wish to track. You can read\nmore about this pattern syntax\n[here](https://git-scm.com/docs/gitattributes)).\n\n\u003e *Note:* the quotation marks surrounding the pattern are important to\n\u003e prevent the glob pattern from being expanded by the shell.\n\nAfter any invocation of `git-lfs-track(1)` or `git-lfs-untrack(1)`, you _must\ncommit changes to your `.gitattributes` file_. This can be done by running:\n\n```bash\n$ git add .gitattributes\n$ git commit -m \"track *.psd files using Git LFS\"\n```\n\nYou can now interact with your Git repository as usual, and Git LFS will take\ncare of managing your large files. For example, changing a file named `my.psd`\n(tracked above via `*.psd`):\n\n```bash\n$ git add my.psd\n$ git commit -m \"add psd\"\n```\n\n\u003e _Tip:_ if you have large files already in your repository's history, `git lfs\n\u003e track` will _not_ track them retroactively. To migrate existing large files\n\u003e in your history to use Git LFS, use `git lfs migrate`. For example:\n\u003e\n\u003e ```\n\u003e $ git lfs migrate import --include=\"*.psd\" --everything\n\u003e ```\n\u003e\n\u003e **Note that this will rewrite history and change all of the Git object IDs in your\n\u003e repository, just like the export version of this command.**\n\u003e\n\u003e For more information, read [`git-lfs-migrate(1)`](https://github.com/git-lfs/git-lfs/blob/main/docs/man/git-lfs-migrate.adoc).\n\nYou can confirm that Git LFS is managing your PSD file:\n\n```bash\n$ git lfs ls-files\n3c2f7aedfb * my.psd\n```\n\nOnce you've made your commits, push your files to the Git remote:\n\n```bash\n$ git push origin main\nUploading LFS objects: 100% (1/1), 810 B, 1.2 KB/s\n# ...\nTo https://github.com/git-lfs/git-lfs-test\n   67fcf6a..47b2002  main -\u003e main\n```\n\n### Uninstalling\n\nIf you've decided that Git LFS isn't right for you, you can convert your\nrepository back to a plain Git repository with `git lfs migrate` as well.  For\nexample:\n\n```ShellSession\n$ git lfs migrate export --include=\"*.psd\" --everything\n```\n\n**Note that this will rewrite history and change all of the Git object IDs in your\nrepository, just like the import version of this command.**\n\nIf there's some reason that things aren't working out for you, please let us\nknow in an issue, and we'll definitely try to help or get it fixed.\n\n## Limitations\n\nGit LFS maintains a list of currently known limitations, which you can find and\nedit [here](https://github.com/git-lfs/git-lfs/wiki/Limitations).\n\nCurrent releases of Git LFS will work with Git versions as early as\nGit 2.0.0.  However, for best performance, using a recent version of Git\nis highly recommended.\n\nGit LFS source code utilizes Go modules in its build system, and therefore this\nproject contains a `go.mod` file with a defined Go module path.  However, we\ndo not maintain a stable Go language API or ABI, as Git LFS is intended to be\nused solely as a compiled binary utility.  Please do not import the `git-lfs`\nmodule into other Go code and do not rely on it as a source code dependency.\n\n## Need Help?\n\nYou can get help on specific commands directly:\n\n```bash\n$ git lfs help \u003csubcommand\u003e\n```\n\nThe [official documentation](docs) has command references and specifications for\nthe tool.  There's also a [FAQ](https://github.com/git-lfs/git-lfs/blob/main/docs/man/git-lfs-faq.adoc)\nshipped with Git LFS which answers some common questions.\n\nIf you have a question on how to use Git LFS, aren't sure about something, or\nare looking for input from others on tips about best practices or use cases,\nfeel free to\n[start a discussion](https://github.com/git-lfs/git-lfs/discussions).\n\nYou can always [open an issue](https://github.com/git-lfs/git-lfs/issues), and\none of the Core Team members will respond to you. Please be sure to include:\n\n1. The output of `git lfs env`, which displays helpful information about your\n   Git repository useful in debugging.\n2. Any failed commands re-run with `GIT_TRACE=1` in the environment, which\n   displays additional information pertaining to why a command crashed.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for info on working on Git LFS and\nsending patches. Related projects are listed on the [Implementations wiki\npage](https://github.com/git-lfs/git-lfs/wiki/Implementations).\n\nSee also [SECURITY.md](SECURITY.md) for info on how to submit reports\nof security vulnerabilities.\n\n## Core Team\n\nThese are the humans that form the Git LFS core team, which runs the project.\n\nIn alphabetical order:\n\n| [@chrisd8088][chrisd8088-user] | [@larsxschneider][larsxschneider-user] |\n| :---: | :---: |\n| [![][chrisd8088-img]][chrisd8088-user] | [![][larsxschneider-img]][larsxschneider-user] |\n| [PGP 088335A9][chrisd8088-pgp] | [PGP A5795889][larsxschneider-pgp] |\n\n[chrisd8088-img]: https://avatars1.githubusercontent.com/u/28857117?s=100\u0026v=4\n[larsxschneider-img]: https://avatars1.githubusercontent.com/u/477434?s=100\u0026v=4\n[chrisd8088-user]: https://github.com/chrisd8088\n[larsxschneider-user]: https://github.com/larsxschneider\n[chrisd8088-pgp]: https://keyserver.ubuntu.com/pks/lookup?op=get\u0026search=0x86cd3297749375bcf8206715f54fe648088335a9\n[larsxschneider-pgp]: https://keyserver.ubuntu.com/pks/lookup?op=get\u0026search=0xaa3b3450295830d2de6db90caba67be5a5795889\n\n### Alumni\n\nThese are the humans that have in the past formed the Git LFS core team, or\nhave otherwise contributed a significant amount to the project. Git LFS would\nnot be possible without them.\n\nIn alphabetical order:\n\n| [@andyneff][andyneff-user] | [@bk2204][bk2204-user] | [@PastelMobileSuit][PastelMobileSuit-user] | [@rubyist][rubyist-user] | [@sinbad][sinbad-user] | [@technoweenie][technoweenie-user] | [@ttaylorr][ttaylorr-user] |\n| :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n| [![][andyneff-img]][andyneff-user] | [![][bk2204-img]][bk2204-user] | [![][PastelMobileSuit-img]][PastelMobileSuit-user] | [![][rubyist-img]][rubyist-user] | [![][sinbad-img]][sinbad-user] | [![][technoweenie-img]][technoweenie-user] | [![][ttaylorr-img]][ttaylorr-user] |\n\n[andyneff-img]: https://avatars1.githubusercontent.com/u/7596961?v=3\u0026s=100\n[bk2204-img]: https://avatars1.githubusercontent.com/u/497054?s=100\u0026v=4\n[PastelMobileSuit-img]: https://avatars2.githubusercontent.com/u/37254014?s=100\u0026v=4\n[rubyist-img]: https://avatars1.githubusercontent.com/u/143?v=3\u0026s=100\n[sinbad-img]: https://avatars1.githubusercontent.com/u/142735?v=3\u0026s=100\n[technoweenie-img]: https://avatars3.githubusercontent.com/u/21?v=3\u0026s=100\n[ttaylorr-img]: https://avatars2.githubusercontent.com/u/443245?s=100\u0026v=4\n[andyneff-user]: https://github.com/andyneff\n[bk2204-user]: https://github.com/bk2204\n[PastelMobileSuit-user]: https://github.com/PastelMobileSuit\n[sinbad-user]: https://github.com/sinbad\n[rubyist-user]: https://github.com/rubyist\n[technoweenie-user]: https://github.com/technoweenie\n[ttaylorr-user]: https://github.com/ttaylorr\n","funding_links":[],"categories":["Go","Programming.","开源类库","File System","HarmonyOS","Repositories","go","\u003ca id=\"1d9dec1320a5d774dc8e0e7604edfcd3\"\u003e\u003c/a\u003e工具-新添加的"],"sub_categories":["Git","Windows Manager","\u003ca id=\"8f1b9c5c2737493524809684b934d49a\"\u003e\u003c/a\u003e文章\u0026\u0026视频"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-lfs%2Fgit-lfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgit-lfs%2Fgit-lfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-lfs%2Fgit-lfs/lists"}