aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/unlocked_files/comment_4_a8139747da8cbb2510b3647ba448d72d._comment
blob: 2261ccdfb2853e65f66e6449faffb4c127965b81 (plain)
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 4"""
 date="2016-01-20T18:49:07Z"
 content="""
@wsha.code, if you opt to use annex.thin, then commit a file, and then
edit the same file again and commit again, the older commit will be in
git's history, but if you check it out, the old content of the file won't
be available. This is very similar to what happens when not using annex.thin,
but later running git-annex unused and dropping the "unused" intermediate
version of the file.

Running `git annex sync --content` or just `git annex copy --to remote`
will get the thin version of the file saved on a remote, and then editing
it won't lose the content. But note that if you edited a file while it was
being copied off to the remote, the previous version would still get lost.

If these seem like troublesome behaviors, well that's why annex.thin is not
enabled by default.
"""]]