← 返回
未分类 中文

Git

git:interface-01 - Clone or Update
Git 接口-01:克隆或更新
lentiancn
未分类 clawhub v1.0.5 5 版本 100000 Key: 无需
★ 0
Stars
📥 523
下载
💾 0
安装
5
版本
#latest

概述

Important Principles ⭐

Modification Prohibited (Mandatory): Any files under skill-git-scm. This skill is maintained via

openclaw skills update skill-git-scm; any alterations will disrupt its normal operation.

git:interface-01 - Clone or Update

res=$(GIT_REMOTE_URL=<GIT_REMOTE_URL> GIT_LOCAL_PATH=<GIT_LOCAL_PATH> [GIT_BRANCH=<GIT_BRANCH>] bash scripts/git_clone_or_update.sh)

Input value

  • GIT_REMOTE_URL: Required, remote git repository address
  • GIT_LOCAL_PATH: Required, local storage directory
  • GIT_BRANCH: Optional, target branch, default main

Return value (res=stdout)

Success:

  • SUCCESS: Git clone
  • SUCCESS: Git update

Error:

  • ERROR: GIT_REMOTE_URL is required...
  • ERROR: GIT_LOCAL_PATH is required...
  • ERROR: Failed to enter directory...

More skills

https://github.com/lentiancn/skills

版本历史

共 5 个版本

  • v1.0.5 当前
    2026-06-01 20:59 安全 安全
  • v1.0.4
    2026-05-29 13:33
  • v1.0.3
    2026-05-26 23:33 安全 安全
  • v1.0.2
    2026-05-26 18:02
  • v1.0.1
    2026-05-23 16:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

PlantUML

lentiancn
PlantUML:序列图;PlantUML:其他图
★ 0 📥 637

Docker

lentiancn
Docker接口01 - 清单检查;Docker接口02 - 构建初始化;Docker接口03 - 构建销毁;Docker接口04 - ...
★ 0 📥 618

抖音

lentiancn
抖音开放平台 API
★ 0 📥 478