GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
git-annex-unannex(1) FreeBSD General Commands Manual git-annex-unannex(1)

git-annex-unannex - undo accidental add command

git annex unannex [path ...]

Use this to undo an accidental git annex add command. It puts the file back how it was before the add.

Note that for safety, the content of the file remains in the annex, until you use git annex unused and git annex dropunused.

This is not the command you should use if you intentionally added a file some time ago, and don't want its contents any more. In that case you should use git annex drop instead, and you can also git rm the file.

--fast
Normally this does a slow copy of the file. In --fast mode, it instead makes a hard link from the file to the content in the annex. But use --fast mode with caution, because editing the file will change the content in the annex.
file matching options
The git-annex-matching-options(1) can be used to specify files to unannex.
Also the git-annex-common-options(1) can be used.

git-annex(1)

Joey Hess <id@joeyh.name>

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.