Unless you need .git/.COMMIT_EDITMSG.swp for some other purpose, you can use:
git rm .git/.COMMIT_EDITMSG.swp
to remove the file from the repository.
Unless you need .git/.COMMIT_EDITMSG.swp for some other purpose, you can use:
git rm .git/.COMMIT_EDITMSG.swp
to remove the file from the repository.