Is a given file known to git?
- From
- Christoph Duelli <duelli@melosgmbh.de>
- Date
- Mar 11, 2008, 07:15 UTC
- Message-ID
- <47D6317D.7030700@melosgmbh.de>
Given a repository and a path p to a file in it: Is it possible (how?) to detect (in a bash script) if the file pointed to by p is "known" to git? Something along the line: if `git knows p? then ... fi
Thanks and keep up the good work!
-- Christoph Duelli