def clone_repo(self, local_directory_path=None):
"""
Clone the Git repository to the given file path.
:param local_directory_path: The file path to clone the repository to. If None, then use the default
directory path.
:return: The Git repository.
"""
if local_directory_path is None:
local_directory_path = self.local_directory_path
return Repo.clone_from(self.git_url, local_directory_path)
# Protected Methods
# Private Methods
# Properties
评论列表
文章目录