To satisfy github 100Mb requirement, I run the following to ignore some large files:
$ find ./* -size +100M | cat >> .gitignore
but when I run add * later, it is still adding the >100MB file to commit.
$ git add *
warning: LF will be replaced by CRLF in hw1/input/act_test.csv.
The file will have its original line endings in your working directory
How can I make this gitignore work? Thanks in advance for ideas and advices.
add:
my intent is to make add *
not track the large csv file any more, following answer does not seem to work.