Muhammad Asif
Muhammad Asif

Reputation: 11

How to delete undefined extension file from git?

I created a file accidentally with undefined extension in GIT bash. I have attached a screenshot:

screenshot

Upvotes: 1

Views: 153

Answers (1)

jofel
jofel

Reputation: 3415

As text,txt is not tracked via git (see the git status output) you can delete it only via the normal del command (resp. rm on Unix systems), not via git rm.

Upvotes: 3

Related Questions