improve conversion example
This commit is contained in:
parent
bfd786b26a
commit
3cc23df35b
2 changed files with 9 additions and 0 deletions
|
@ -140,6 +140,7 @@ When you have a file that is currently stored in the annex, and you want to
|
|||
convert that to be stored in git, here's how to accomplish that:
|
||||
|
||||
git annex unlock file
|
||||
git rm --cached file
|
||||
git -c annex.largefiles=nothing add file
|
||||
git commit file
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""Re: annexed -> normal git does not work if annexed file was unlocked"""
|
||||
date="2019-10-08T18:14:45Z"
|
||||
content="""
|
||||
Touching the file first avoids the problem, or git rm --cached to force
|
||||
git to re-add it. I've updated the example.
|
||||
"""]]
|
Loading…
Add table
Reference in a new issue