This commit is contained in:
parent
42e19505f7
commit
22e7b711c1
1 changed files with 5 additions and 0 deletions
5
doc/forum/How_to_cancel_an_add__63__.mdwn
Normal file
5
doc/forum/How_to_cancel_an_add__63__.mdwn
Normal file
|
@ -0,0 +1,5 @@
|
|||
What is the safest way to cancel a `git annex add` before the first commit?
|
||||
|
||||
Say I first added a directory with a lot of small files to the annex and then (while watching the endless list of checksum operations) decide I should actually put them in a tar file and annex that instead.
|
||||
|
||||
The problem seems to be that `git annex add` immediately replaces the files with symlinks instead of waiting for a commit, so I can't just `git reset largedir/; tar cvfz largedir.tgz largedir/; git annex add largedir.tgz`.
|
Loading…
Add table
Reference in a new issue