A
A
Andrey2016-02-20 15:08:31
git
Andrey, 2016-02-20 15:08:31

How to remove a file with an exclamation point from GIT?

The project had a file named "!README.txt". I deleted it, but since the git project cannot save the changes, when I try to delete the file from the git with the git rm <file path> command, I get the message:
-bash: !README.txt: event not found
and, accordingly, the changes are not fixed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2016-02-20
@f-end

\!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question