完成git下载目录
This commit is contained in:
@@ -301,9 +301,9 @@ class RemoteCommandsTab(QWidget):
|
||||
# 构建克隆命令
|
||||
if remote_dir:
|
||||
# 如果指定了远程目录,先创建目录(如果不存在),然后克隆到指定目录
|
||||
clone_command = f"mkdir -p {remote_dir} && cd {remote_dir} && git clone {repo_url}"
|
||||
clone_command = f"mkdir -p {remote_dir} && cd {remote_dir} && git clone --verbose {repo_url}"
|
||||
else:
|
||||
clone_command = f"git clone {repo_url}"
|
||||
clone_command = f"git clone --verbose {repo_url}"
|
||||
|
||||
# 创建并启动线程执行命令
|
||||
self.command_thread = RemoteCommandThread(self.ssh_client, clone_command)
|
||||
|
||||
Reference in New Issue
Block a user