What does *~ do in a .gitignore file?

It ignores all files whose name ends in ~, which is a usual suffix for text editors backup files.

* is a special symbol and means “any sequence of zero or more characters”, while ~ is just an ordinary character. Putting the two parts together: “zero or more characters followed by a ~”.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)