Created
February 28, 2011 22:46
-
-
Save goenning/848203 to your computer and use it in GitHub Desktop.
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
When I do "git status", this is shown: | |
# On branch master | |
# Changes to be committed: | |
# (use "git reset HEAD <file>..." to unstage) | |
# | |
# modified: example/HelloWorldMvc/HelloWorldMvc.csproj | |
# modified: example/TrackWebService/TrackWebService.csproj | |
# | |
# Changed but not updated: | |
# (use "git add/rm <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# deleted: example/HelloWorldMvc/Scripts/MicrosoftAjax.debug.js | |
# deleted: example/HelloWorldMvc/Scripts/MicrosoftAjax.js | |
# deleted: example/HelloWorldMvc/Scripts/MicrosoftMvcAjax.debug.js | |
# deleted: example/HelloWorldMvc/Scripts/MicrosoftMvcAjax.js | |
# deleted: example/HelloWorldMvc/Scripts/MicrosoftMvcValidation.debug.j | |
s | |
# deleted: example/HelloWorldMvc/Scripts/MicrosoftMvcValidation.js | |
# deleted: example/HelloWorldMvc/Scripts/jquery-1.4.4-vsdoc.js | |
# deleted: example/HelloWorldMvc/Scripts/jquery-1.4.4.js | |
# deleted: example/HelloWorldMvc/Scripts/jquery-ui.js | |
# deleted: example/HelloWorldMvc/Scripts/jquery-ui.min.js | |
# deleted: example/HelloWorldMvc/Scripts/jquery.unobtrusive-ajax.js | |
# deleted: example/HelloWorldMvc/Scripts/jquery.unobtrusive-ajax.min.js | |
# deleted: example/HelloWorldMvc/Scripts/jquery.validate-vsdoc.js | |
# deleted: example/HelloWorldMvc/Scripts/jquery.validate.js | |
# deleted: example/HelloWorldMvc/Scripts/jquery.validate.min.js | |
# deleted: example/HelloWorldMvc/Scripts/jquery.validate.unobtrusive.js | |
# deleted: example/HelloWorldMvc/Scripts/jquery.validate.unobtrusive.mi | |
n.js | |
I removed these files through Windows Explorer, how do I tell git to remove these files without going one by one with the "git rm <file>" command? He managed to find the files I deleted, now I want to confirm that he can remove them all. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The answer is:
git add -u
git commit -m "removing some unused js files"