I am using: if [ -f ".git/remotes/origin" ]; then # this repository is a clone fi in a bash script to test if a repository was cloned and then do appropriate pulls and pushes which fit my situation. Is this the proper way to test this or should I be using something different? Thanks in advance for your help and for providing git. I have been using it on my Linux and MacOSX machines without any problems. Bob White - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Thu Jul 27 23:47:01 2006
This archive was generated by hypermail 2.1.8 : 2006-07-27 23:47:37 EST