# gitee_test **Repository Path**: gdbgyh/error_logging ## Basic Information - **Project Name**: gitee_test - **Description**: bullet探索踩坑备忘 - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-29 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 简易的命令行入门教程: Git 全局设置: ``` git config --global user.name "GuoAndJie" git config --global user.email "781577557@qq.com" ``` 创建 git 仓库: ``` mkdir dual_arm2_ws cd dual_arm2_ws git init touch README.md git add README.md git commit -m "first commit" git remote add origin https://gitee.com/guoandjie/dual_arm2_ws.git git push -u origin master ``` 已有仓库? ``` cd existing_git_repo git remote add origin https://gitee.com/guoandjie/dual_arm2_ws.git git push -u origin master ``` 提交更改: ##将文件添加到Git的暂存区 `git add 用tab,会自动出来已改变的文件 ## git add -A 或 git add . (添加所有)` ##查看仓库当前文件提交状态(A:提交成功;AM:文件在添加到缓存之后又有改动) `git status -s` ##从Git的暂存区提交版本到仓库,参数-m后为当次提交的备注信息 `git commit -m "备注"` ##将本地的Git仓库信息推送上传到服务器 `git push -u origin master ##origin为之前设置的网址`