git
Description
manage a git repo
Parameters
path(required ): the path to clone the repoexample: /var/www/html/mysite/repo(required): the git repository uriexample: /path/to/repo.git/ file:///path/to/repo.git/ http[s]://host[:port][path] ftp[s]://host[:port][path] ssh://[user@]host[:port]/~[user][path] git://[user@]host[:port]/~[user][path] rsync://host[:port][path]revision(optional): the revision to checkoutexample: specify a branch and keep it synced: master, develop specify a static tag - release-1.0 specify a particular revision id - 8b1e0f7e499f9af07eed5ba6a3fc5490e72631b6ssh-key-file(optional): the path of the ssh keypair fileexample: /root/.ssh/id_rsaforce(optional): force the checkout if there is conflict, by defaultfalseuser(optional): the username that performs the operation, by defaultroot