diff options
Diffstat (limited to 'doc/tips')
-rw-r--r-- | doc/tips/How_to_retroactively_annex_a_file_already_in_a_git_repo/comment_6_1eceb980814f95b28caac9d4d9894f01._comment | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/tips/How_to_retroactively_annex_a_file_already_in_a_git_repo/comment_6_1eceb980814f95b28caac9d4d9894f01._comment b/doc/tips/How_to_retroactively_annex_a_file_already_in_a_git_repo/comment_6_1eceb980814f95b28caac9d4d9894f01._comment new file mode 100644 index 000000000..17592b287 --- /dev/null +++ b/doc/tips/How_to_retroactively_annex_a_file_already_in_a_git_repo/comment_6_1eceb980814f95b28caac9d4d9894f01._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="Dilyin" + subject="Retroactively annex" + date="2016-06-01T18:36:40Z" + content=""" +Hmm, guyz? Are you serious with these scripts? + +1. git rm -r --cached large_files +# files are indexed as both removed and untracked and are still in place +2. commit the changes +# files are seen as untracked +3. git annex add large_files +# files are replaced with symlinks and are in the index +4. commit changes again + +Make sure that you don't have annex.largefiles settings that would prevent annexing the files. +"""]] |