# app **Repository Path**: shang-chunxu/app ## Basic Information - **Project Name**: app - **Description**: 好好好好好好好好好好 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2024-01-15 - **Last Updated**: 2024-01-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### git使用笔记 1. git init 1. 初始化git仓库 2. git remote add origin https://gitee.com/wuuuu1830621/app.git 1. 添加远程仓库地址 3. git status 1. 查看本地仓库状态 4. git add . 1. 添加自己本地所有的修改到暂存区里 5. git commit -m '本次提交想要说的话' 1. 添加当前暂存区里面的修改到本地仓库 6. git push origin master 1. 提交到远程仓库的master分支 7. git pull origin master 1. 将远程仓库的master分支上的内容拉回本地,同时执行merge操作 8. git log 1. 查看之前的commit记录 #### 刚开始使用: - git init 初始化本地仓库 - git remote add origin https://gitee.com/wuuuu1830621/app.git 添加远程仓库地址 - git pull origin master 下拉远程仓库的代码 上面三个命令应该就行 #### 后序下拉代码和提交代码,大概是下面的流程 - git pull origin master 从gitee远程仓库下拉代码 - git add . 将当前的修改全部提交到暂存区 - git commit -m '描述' 将暂存区提交到本地库 - git push origin master 上传代码到gitee远程仓库