From: Christoph Duelli Date: Tue, 11 Mar 2008 07:15:09 GMT Subject: Is a given file known to git? 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