How to remove a file containing CR/LF from source

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Mon Jan 8 07:44:53 UTC 2024


On 8.1.2024 9.41, Heiko Tietze wrote:
> On 07.01.24 10:26, Andras Timar wrote:
>> 1. git rm extras/source/templates/presnt/Growing_Liberty/readme.txt
> I wonder if there is a difference between rm + git add and git rm.

We can read the manual and check: https://git-scm.com/docs/git-rm

Remove files matching pathspec from the index, or from the working tree 
and the index. git rm will not remove a file from just your working 
directory. (There is no option to remove a file only from the working 
tree and yet keep it in the index; use /bin/rm if you want to do that.)

Ilmari


More information about the LibreOffice mailing list