File: comment_3_0761201bf68e1086d263776eb953c1e1._comment

package info (click to toggle)
git-annex 10.20250721-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 74,484 kB
  • sloc: haskell: 90,982; javascript: 9,103; sh: 1,469; makefile: 213; perl: 137; ansic: 44
file content (20 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[[!comment format=mdwn
 username="joey"
 subject="""comment 3"""
 date="2018-12-09T15:22:09Z"
 content="""
`git annex export` only exports trees, but you can easily make a tree
containing only a single file, and then export that. 

For example:

	mkdir exporttree
	cp tests/tests1.mov exporttree
	git annex add exporttree
	git commit -m 'created export tree'
	git annex export master:exporttree --to public

If you don't want to commit that you can switch to a temporary branch
and build the tree there. Or there are plenty of lower-level git commands
to build trees.
"""]]