# 作业 **Repository Path**: yahveyeye_admin/homework ## Basic Information - **Project Name**: 作业 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2026-03-06 - **Last Updated**: 2026-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Git 作业指南 欢迎使用本仓库进行作业提交!以下是设置和使用 Git 的详细步骤。 ## 步骤 1: 下载并安装 Git - 下载 Git: [https://git-scm.com/install/](https://git-scm.com/install/) ## 步骤 2: 注册 Gitee 账号 - 访问 [gitee.com](https://gitee.com) 并注册账号。 ## 步骤 3: 生成 SSH 公钥和私钥并设置 - 参考指南: [SSH 公钥设置](https://help.gitee.com/base/account/SSH%E5%85%AC%E9%92%A5%E8%AE%BE%E7%BD%AE) ## 步骤 4: 成为开发者 - 联系班长获取邀请链接,点击成为仓库开发者。 ## 步骤 5: 配置 Git 用户信息 在 Git Bash 中执行以下命令: ```bash git config --global user.email "your-email@example.com" git config --global user.name "Your Name" ``` ## 步骤 6: 克隆作业仓库 ```bash mkdir -p /e/repo cd /e/repo git clone git@gitee.com:yahveyeye_admin/homework.git ``` ## 步骤 7: 添加和提交作业 在正确的目录里创建作业后执行: ```bash git add . git commit -m "第一次作业" git push git pull ``` ## 学习资源 - Git 学习网址: [廖雪峰的 Git 教程](https://liaoxuefeng.com/books/git/introduction/index.html)