Re: How to remove a file containing CR/LF from source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux