git-annex/doc/git-annex-unlock/comment_5_40abc819288a97753747562f16b8febe._comment

13 lines
350 B
Text
Raw Normal View History

2019-09-30 17:36:11 +00:00
[[!comment format=mdwn
username="joey"
subject="""Re: Move file from git annex to just git in one commit"""
date="2019-09-30T17:29:39Z"
content="""
git annex unlock MYFILE
git -c annex.largefiles=nothing add MYFILE
git commit -n MYFILE
(The -n is only needed with git-annex older than 7.20190912 but will work
with newer versions too.)
"""]]