Go to file
Lars Schneider d874af9ac1 wip
2016-11-02 16:51:14 -06:00
api api,transfer: teach Object to return when it expired 2016-10-21 14:36:05 -06:00
auth Expose the result message in case of an SSH authentication error 2016-10-20 14:03:46 +02:00
commands wip 2016-11-02 16:51:14 -06:00
config release: v1.4.4 2016-10-24 14:40:15 -06:00
debian release: v1.4.4 2016-10-24 14:40:15 -06:00
docker run against gitlfs packages from docker hub 2016-08-02 13:46:13 -06:00
docs Add read-only workflow details to locking proposal 2016-10-26 11:32:21 +01:00
errors errors: remove Error prefix 2016-08-19 14:03:39 -06:00
git wip 2016-11-02 16:51:14 -06:00
httputil Allow usage of proxies even when contacting localhost 2016-10-25 11:36:24 +02:00
lfs wip 2016-11-02 16:51:14 -06:00
localstorage vendor: vendor dependencies in vendor/ using Glide 2016-05-23 12:10:35 -06:00
progress Print report from meter when there were files but they were skipped 2016-06-08 11:07:25 +01:00
rpm release: v1.4.4 2016-10-24 14:40:15 -06:00
script wip 2016-11-02 16:51:14 -06:00
subprocess Removed Go 1.6-specific API changes introduced in the previous commit. This commit can be reverted as soon as Go >= 1.6 is required. 2016-06-30 12:05:30 +10:00
test wip 2016-11-02 16:51:14 -06:00
tools tools/io: fix spelling error 2016-08-24 16:48:30 -06:00
transfer transfer: simplify the "object has expired" error message 2016-10-24 13:42:29 -06:00
vendor/github.com vendor: add github.com/pkg/errs 2016-08-17 15:07:35 -06:00
.gitattributes Enable autocrlf 2015-08-22 21:03:44 -04:00
.gitignore Don't ignore source files named lfstest-*.go, only compiled binaries 2016-07-13 14:28:52 +01:00
.mailmap Update .mailmap 2016-10-18 13:29:45 +09:00
.travis.yml wip 2016-11-02 16:51:14 -06:00
appveyor.yml AppVeyor: Do not build branches with open pull requests 2016-10-18 09:24:35 +02:00
CHANGELOG.md release: v1.4.4 2016-10-24 14:40:15 -06:00
CODE-OF-CONDUCT.md embed the open code of conduct since the link is bad now 2016-05-06 05:50:14 -06:00
CONTRIBUTING.md Added branch name (master) to CONTRIBUTING.md 2016-07-28 16:48:47 -04:00
git-lfs.go replace config.Config references in httputil 2016-07-21 18:07:23 -06:00
glide.lock vendor: add github.com/pkg/errs 2016-08-17 15:07:35 -06:00
glide.yaml vendor: add github.com/pkg/errs 2016-08-17 15:07:35 -06:00
INSTALLING.md small typos 2016-04-14 10:59:20 -06:00
LICENSE.md Rename LICENSE to LICENSE.md 2015-08-04 14:57:11 -07:00
Makefile Create Makefile for building with gccgo 2016-05-18 14:54:53 +02:00
README.md README: add AppVeyor badge 2016-10-11 14:54:29 -06:00
ROADMAP.md release: v1.4.2 2016-10-10 16:18:31 -06:00

Git Large File Storage

Build Status Build status

Git LFS is a command line extension and specification for managing large files with Git. The client is written in Go, with pre-compiled binaries available for Mac, Windows, Linux, and FreeBSD. Check out the Git LFS website for an overview of features.

Getting Started

You can install Git LFS in several different ways, depending on your setup and preferences.

Note: Git LFS requires Git v1.8.2 or higher.

Once installed, you need to setup the global Git hooks for Git LFS. This only needs to be done once per machine.

$ git lfs install

Now, it's time to add some large files to a repository. The first step is to specify file patterns to store with Git LFS. These file patterns are stored in .gitattributes.

$ mkdir large-repo
$ cd large-repo
$ git init

# Add all zip files through Git LFS
$ git lfs track "*.zip"

Now you're ready to push some commits:

$ git add .gitattributes
$ git add my.zip
$ git commit -m "add zip"

You can confirm that Git LFS is managing your zip file:

$ git lfs ls-files
my.zip

Once you've made your commits, push your files to the Git remote:

$ git push origin master
Sending my.zip
LFS: 12.58 MB / 12.58 MB  100.00 %
Counting objects: 2, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 548 bytes | 0 bytes/s, done.
Total 5 (delta 1), reused 0 (delta 0)
To https://github.com/github/git-lfs-test
   67fcf6a..47b2002  master -> master

Need Help?

You can get help on specific commands directly:

$ git lfs help <subcommand>

The official documentation has command references and specifications for the tool. You can ask questions in the Git LFS chat room, or file a new issue. Be sure to include details about the problem so we can troubleshoot it.

  1. Include the output of git lfs env, which shows how your Git environment is setup.
  2. Include GIT_TRACE=1 in any bad Git commands to enable debug messages.
  3. If the output includes a message like Errors logged to /path/to/.git/lfs/objects/logs/*.log, throw the contents in the issue, or as a link to a Gist or paste site.

Contributing

See CONTRIBUTING.md for info on working on Git LFS and sending patches. Related projects are listed on the Implementations wiki page. You can also join the project's chat room.

Using LFS from other Go code

At the moment git-lfs is only focussed on the stability of its command line interface, and the server APIs. The contents of the source packages is subject to change. We therefore currently discourage other Go code from depending on the git-lfs packages directly; an API to be used by external Go code may be provided in future.

Core Team

These are the humans that form the Git LFS core team, which runs the project.

In alphabetical order:

@andyneff @rubyist @sinbad @technoweenie @ttaylorr