Revert my change, not a typo.
This commit is contained in:
parent
729436c3ce
commit
491c3aa4ab
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ In this method, you just remove annexed files whenever you want, and commit the
|
|||
|
||||
In an indirect mode repo, you can do this the same way you would in a regular git repository. For example, `git rm foo; git commit -m "removed foo"`. This leaves the contents of the files still in the annex, not really deleted yet.
|
||||
|
||||
If you have a direct mode repo, you can't run `git rm` on it. Instead, you can just delete files using `rm` or your file manager, and then run `git annex sync` to commit the deletion. That will delete the file's content from your disk. Even if it's the only copy of the file!
|
||||
If you have a direct mode repo, you can't run `git rm` in it. Instead, you can just delete files using `rm` or your file manager, and then run `git annex sync` to commit the deletion. That will delete the file's content from your disk. Even if it's the only copy of the file!
|
||||
|
||||
Either way, deleting files can leave some garbage lying around in either the local repository, or other repositories that contained a copy of the content of the file you deleted. Eventually you'll want to free up some disk space used by one of these repositories, and then it's time to take out the garbage.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue