Add OpenClaw workspace configuration and tools
- Add agent configuration files (AGENTS.md, USER.md, IDENTITY.md, SOUL.md) - Add git configuration and skills management scripts - Add frontend/backend analysis tools and reports - Add DingTalk media sender utilities and documentation - Fix OpenClaw runtime environment (Node.js and Python) - Configure git remotes and push scripts
This commit is contained in:
29
create-git-repo.ps1
Normal file
29
create-git-repo.ps1
Normal file
@@ -0,0 +1,29 @@
|
||||
# Git仓库创建脚本
|
||||
|
||||
$ENV_XLSX = "C:\work\data\env.xlsx"
|
||||
$GIT_SERVER = "git.alicorns.co.jp"
|
||||
$GIT_USER = "aitest"
|
||||
$GIT_PASSWORD = "Aitest123456"
|
||||
|
||||
# 尝试不同的Git创建方法
|
||||
|
||||
Write-Host "=== 尝试创建Git远程仓库 ===" -ForegroundColor Green
|
||||
Write-Host ""
|
||||
|
||||
# 方法1: 尝试通过SSH命令创建
|
||||
Write-Host "方法1: SSH创建尝试" -ForegroundColor Yellow
|
||||
$result1 = ssh $GIT_USER@$GIT_SERVER "git init --bare /var/git/office-file-handler.git" 2>&1
|
||||
Write-Host "结果: $result1"
|
||||
Write-Host ""
|
||||
|
||||
# 方法2: 尝试通过git push创建 (如果服务器支持)
|
||||
Write-Host "方法2: 通过推送创建" -ForegroundColor Yellow
|
||||
cd "C:\Users\ALC\.openclaw\skills\office-file-handler"
|
||||
$result2 = git push -u origin master 2>&1
|
||||
Write-Host "结果: $result2"
|
||||
Write-Host ""
|
||||
|
||||
# 方法3: 检查Git服务器类型
|
||||
Write-Host "方法3: 检查服务器信息" -ForegroundColor Yellow
|
||||
$result3 = curl -I https://$GIT_SERVER/ 2>&1 | Select-Object -First 5
|
||||
Write-Host "结果: $result3"
|
||||
Reference in New Issue
Block a user