# 创建 GitHub 私有仓库 由于需要认证才能创建仓库,请按以下步骤操作: ## 方式一:在 GitHub 网页创建 1. 打开 https://github.com/new 2. 仓库名称: `ProxyCLIP_TPAMI` 3. 选择 `Private` 4. **不要**勾选 "Add a README file" 5. 点击 "Create repository" ## 方式二:使用 GitHub CLI ```bash # 安装 gh CLI (如果没有) # Ubuntu/Debian sudo apt install gh # 登录 gh auth login # 创建私有仓库 gh repo create ProxyCLIP_TPAMI --private --source=. --remote=origin --push ``` ## 推送代码 创建仓库后,运行推送脚本: ```bash # 启动代理 (如需要) # ... # 推送 cd env_setup chmod +x push_to_github.sh ./push_to_github.sh ``` 或手动推送: ```bash cd /mnt/SSD8T/home/wjj/code/ProxyCLIP_TPAMI # 配置代理 (如需要) git config http.proxy http://127.0.0.1:7897 git config https.proxy http://127.0.0.1:7897 # 推送 git push -u origin main ```