git-annex-3.20110915: debian/git-annex/usr/share/doc/git-annex/html/walkthrough/removing_files.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>removing files</title>
<link rel="stylesheet" href="../style.css" type="text/css" />
<link rel="stylesheet" href="../local.css" type="text/css" />
</head>
<body>
<div class="page">
<div class="pageheader">
<div class="header">
<span>
<span class="parentlinks">
<a href="../index.html">git-annex</a>/
<a href="../walkthrough.html">walkthrough</a>/
</span>
<span class="title">
removing files
</span>
</span>
</div>
</div>
<div id="pagebody">
<div id="content">
<p>You can always drop files safely. Git-annex checks that some other annex
has the file before removing it.</p>
<pre><code># git annex drop iso/debian.iso
drop iso/Debian_5.0.iso ok
</code></pre>
</div>
<div id="comments">
<div id="feedlink">
</div>
<div class="comment" id="comment-ae7fa4d5ad04b9d5fe5174d47d1b3d27">
<div class="comment-subject">
<a href="/walkthrough/removing_files.html#comment-ae7fa4d5ad04b9d5fe5174d47d1b3d27">Is it necessary to commit after the 'drop'?</a>
</div>
<div class="inlinecontent">
In fact is it possible? Nothing changed as far as git is concerned.
</div>
<div class="comment-header">
Comment by
<span class="author" title="Signed in">
<a href="?page=DavidEdmondson&do=goto">DavidEdmondson</a>
</span>
— <span class="date">Mon Sep 5 11:43:25 2011</span>
</div>
</div>
<div class="comment" id="comment-a854605ff0a6b92be7f3014da2e2c357">
<div class="comment-subject">
<a href="/walkthrough/removing_files.html#comment-a854605ff0a6b92be7f3014da2e2c357">comment 2</a>
</div>
<div class="inlinecontent">
Good catch. It used to be necessary before there was a git-annex branch, but not now.
</div>
<div class="comment-header">
Comment by
<span class="author" title="OpenID">
<a href="http://joey.kitenet.net/">joey</a>
</span>
— <span class="date">Mon Sep 5 11:59:27 2011</span>
</div>
</div>
<div class="addcomment">Comments on this page are closed.</div>
</div>
</div>
<div id="footer" class="pagefooter">
<div id="pageinfo">
<div class="pagedate">
Last edited <span class="date">Sat Sep 17 09:24:24 2011</span>
<!-- Created <span class="date">Sat Sep 17 09:24:24 2011</span> -->
</div>
</div>
<!-- from git-annex -->
</div>
</div>
</body>
</html>