Re: Fwd: [git-users] How to use git to store large files without keeping track of versions?

2015-02-25 Thread Magnus Therning
On Tue, Feb 24, 2015 at 12:06:38PM -0600, Peng Yu wrote: I forget to send to the mailing list. -- Forwarded message -- From: Peng Yu pengyu...@gmail.com Date: Tue, Feb 24, 2015 at 12:05 PM Subject: Re: [git-users] How to use git to store large files without keeping track

Re: [git-users] How to use git to store large files without keeping track of versions?

2015-02-24 Thread Konstantin Khomoutov
On Sun, 22 Feb 2015 07:51:59 -0800 (PST) pengyu...@gmail.com wrote: I have some data files that need to be stored along with source code. These data files are large, but I don't need to keep their versions. I only need to keep the versions of the source code. git-annex is mainly for large

Re: [git-users] How to use git to store large files without keeping track of versions?

2015-02-24 Thread Michael
So a common idiom is to put an object into the repository and then make a tag (usually annotated) pointing to it: $ git tag -a my-big-file $(git hash-object -w my-big-file) The `git hash-object -w` command will read the specified file, put it into the repo and print the SHA-1 hash

Fwd: [git-users] How to use git to store large files without keeping track of versions?

2015-02-24 Thread Peng Yu
I forget to send to the mailing list. -- Forwarded message -- From: Peng Yu pengyu...@gmail.com Date: Tue, Feb 24, 2015 at 12:05 PM Subject: Re: [git-users] How to use git to store large files without keeping track of versions? To: Konstantin Khomoutov flatw

Re: [git-users] How to use git to store large files without keeping track of versions?

2015-02-24 Thread Dale R. Worley
This is so elegant, but: Konstantin Khomoutov flatw...@users.sourceforge.net writes: $ git cat-file my-big-file^{} /some/path/to/my-big-file I think you have to say git cat-file blob my-big-file^{} Dale -- You received this message because you are subscribed to the Google Groups Git

Re: [git-users] How to use git to store large files without keeping track of versions?

2015-02-23 Thread Michael
On 2015-02-23, at 12:40 AM, Magnus Therning mag...@therning.org wrote: On Sun, Feb 22, 2015 at 11:43:07PM -0800, Michael wrote: git-annex is mainly for large files with versioning. Therefore, it is not suitable for my situation. Annex? Yes, annex: http://git-annex.branchable.com/

Re: [git-users] How to use git to store large files without keeping track of versions?

2015-02-23 Thread Magnus Therning
On Sun, Feb 22, 2015 at 07:51:59AM -0800, pengyu...@gmail.com wrote: Hi, I have some data files that need to be stored along with source code. These data files are large, but I don't need to keep their versions. I only need to keep the versions of the source code. git-annex is mainly for

Re: [git-users] How to use git to store large files without keeping track of versions?

2015-02-23 Thread Magnus Therning
On Sun, Feb 22, 2015 at 11:43:07PM -0800, Michael wrote: git-annex is mainly for large files with versioning. Therefore, it is not suitable for my situation. Annex? keybounceMBP:2aec26bc01189ea4b310 michael$ man git-annex No manual entry for git-annex keybounceMBP:2aec26bc01189ea4b310

Re: [git-users] How to use git to store large files without keeping track of versions?

2015-02-22 Thread Michael
git-annex is mainly for large files with versioning. Therefore, it is not suitable for my situation. Annex? keybounceMBP:2aec26bc01189ea4b310 michael$ man git-annex No manual entry for git-annex keybounceMBP:2aec26bc01189ea4b310 michael$ git --version git version 2.2.2

[git-users] How to use git to store large files without keeping track of versions?

2015-02-22 Thread pengyu . ut
Hi, I have some data files that need to be stored along with source code. These data files are large, but I don't need to keep their versions. I only need to keep the versions of the source code. git-annex is mainly for large files with versioning. Therefore, it is not suitable for my