File: comment_3_0761201bf68e1086d263776eb953c1e1._comment

package info (click to toggle)
git-annex 7.20190129-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,292 kB
  • sloc: haskell: 59,105; sh: 1,255; makefile: 225; perl: 136; 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.
"""]]