Created
April 26, 2012 05:59
-
-
Save joncode/2496412 to your computer and use it in GitHub Desktop.
delete file from staging area in GIT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout -- app/assets/javascripts/themes.js.coffee | |
if you have a file thats been deleted from the repo and sitting in the staging area and you'd like to delete it | |
if its called "app/assets/javascripts/themes.js.coffee" | |
use the above command | |
not quite sure what is the directory , index, staging area etc, need exact definitions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment