# git-notes **Repository Path**: zhouweixin/git-notes ## Basic Information - **Project Name**: git-notes - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2019-03-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 公司工作流程 --- # 上班: ## 1.检查pull request被合并了吗? 如果合并了 ## 2.从公司仓库拉取最新内容(本地和服务器) ``` git pull 公司仓库 分支 ``` ## 3.推送到自己的仓库(如果有更新) ``` git push -u origin 分支 ``` ## 4.开始工作(下面可以重复n次) ### 4.1修改代码 ``` 做个各种修改 ``` ### 4.2提交 ``` 1) add; 2) commit; 3) push; ``` ## 4.3 编译(在服务器) ``` git pull 个人仓库 分支 用linux编译 ``` # 下班 ## 5.验证与公司仓库是否冲突 ``` git pull 公司仓库 分支 ``` ## 6.解决冲突(如果冲突) ``` 1) add; 2) commit; 3) push; ``` ## 7.合并到公司分支 ``` 创建pull request ```