Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] How to Check if A Git Clone Has Been Done Already with JGit

> -----Original Message-----
> From: Isuru Haththotuwa
> Sent: Tuesday, November 27, 2012 10:09 AM
> Hi,
> While using jgit to access git repositories from java code, I came
> across this issue. Since cloning to a non-empty directory is not
> allowed, I need to check if the local repository has been cloned
> before. If it has been cloned earlier, I perform only a git pull, else

Count the number of objects in the history?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Back to the top