Skip to content

Commit

Permalink
Update Basics.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NyckJohnson committed Mar 14, 2015
1 parent 2a56a88 commit 2271c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<h3>git rm --cached &lt;file&gt;</h3>
<p>If there are files in the second category you do not want to save in git you can remove them from git with this command.</p>
<p>
<img src="https://raw.githubusercontent.com/NyckJohnson/HowToGit/master/imgs/cached.png/>
<img src="https://raw.githubusercontent.com/NyckJohnson/HowToGit/master/imgs/rm.png"/>
</p>
<p>The "–cached" is important, it means that you are removing the file from git but not from your hard drive. You are moving it to the untracked files list. Without "–cached" this command will delete the file from your harddrive.</p>
<p>This can also be used to remove files that are already saved to git but you no longer want to track.</p>
Expand Down

0 comments on commit 2271c59

Please sign in to comment.