# weekly **Repository Path**: zfinfos_admin/weekly ## Basic Information - **Project Name**: weekly - **Description**: 公司项目周报 - **Primary Language**: 其他 - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2019-04-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # weekly #### 介绍 公司项目周报, 用于公司成员每周项目周报提交 #### git使用说明 1. 生成 SSH 公钥 `` $ ssh-keygen -t rsa -C "你的邮箱地址" `` 三次回车密码就生成了,密钥路径:C:\Users\用户目录\.ssh 公钥文件:id-rsa.pub 私钥文件:id-rsa 2. gitee配置SSH公钥 复制id-rsa.pub中的内容,在gitee上通过主页右上角 ``「个人设置」->「安全设置」->「SSH公钥」->「添加公钥」``添加生成的 public key 添加到当前账户中 `` @see https://gitee.com/help/articles/4191#article-header0 `` 3. 从gitee远程克隆代码 ``` $ git clone git@gitee.com:zfinfos_admin/weekly.git ``` 抽取成功后,本地即自动下载项目文件。 4. 文件修改上传 ``` # 提交当前目录修改至暂存区 $ git add . # 提交指定文件修改至暂存区 $ git add readme.md # 提交修改至本地仓库 $ git commit -m "文件修改" # 提交修改至远程仓库 $ git push # 远程仓库代码更新 $ git pull # 提交日志查看 $ git log -pretty=oneline # 仓库状态查看 $ git status ``` 5. 文件远程更新 ``` $ git pull ``` ### 使用教程 1. [Git的安装](https://gitee.com/help/articles/4106#article-header0) 2. [Git教程](https://www.liaoxuefeng.com/wiki/896043488029600) 3. [添加SSH公钥](https://gitee.com/help/articles/4181#article-header0) 4. [SSH 公钥设置](https://gitee.com/help/articles/4191) 5. [Git 操作常见问题](https://gitee.com/help/articles/4205#article-header0)