- rm
Remove a file
$ git rm setup.pl
examples/out/status_15.txt
# On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # deleted: setup.pl #
$ git commit -m "remove"
$ git rm setup.pl
# On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # deleted: setup.pl #
$ git commit -m "remove"