About git replacing files.

is when I submit the project, I find that there are errors in some content of many files
for example, I want to change the response of all tracking files to response.text
. Is there a way to do this?

Git
Feb.24,2022

I don't know why you do this, but there are ways, such as the following:

git ls-files | xargs sed -i 's/response/response.text/g'

but this only replaces the contents of the file to be submitted. If the contents of other files in the project are also wrong, you should modify the code in the editor

. The description of

is a bit confusing. If you just change the folder suffix, just change it.

Menu