This commit is contained in:
parent
c381d60f64
commit
c95d359281
1 changed files with 10 additions and 0 deletions
10
doc/forum/How_to_see_what_will_go_to_annex_vs_git.mdwn
Normal file
10
doc/forum/How_to_see_what_will_go_to_annex_vs_git.mdwn
Normal file
|
@ -0,0 +1,10 @@
|
|||
I am importing lots of files from various sources, and want to make sure that I don't inadvertently commit big files to git. On a file-by-file basis, it's easy enough to tell if it matches the inclusion pattern. But for lots of files, I find myself doing:
|
||||
|
||||
1. `git annex add .`
|
||||
2. Look for the "non-large file; adding content to git repository" message
|
||||
3. `git reset`
|
||||
4. `git annex config --set annex.largefiles ...` to add the new file extension to the list
|
||||
|
||||
`git add` doesn't provide any info on what goes where.
|
||||
|
||||
So is there a way to see, in a given directory, what would be annexed and what would be stored in git when doing `git add` / `git annex add` ?
|
Loading…
Add table
Add a link
Reference in a new issue