# hj212_clint **Repository Path**: keepfighting99/hj212_clint ## Basic Information - **Project Name**: hj212_clint - **Description**: HJ212协议模拟器 - **Primary Language**: C# - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2023-12-08 - **Last Updated**: 2023-12-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Git 全局设置: 电话:13471400090 创建 git 仓库: mkdir hj212_clint cd hj212_clint git init touch README.md git add README.md git commit -m "first commit" git remote add origin https://gitee.com/panlixin/hj212_clint.git git push -u origin master 已有仓库? cd existing_git_repo git remote add origin https://gitee.com/panlixin/hj212_clint.git git push -u origin master 下载 git init git remote add origin https://gitee.com/panlixin/hj212_clint.git git pull origin master https://blog.csdn.net/daisy0923/article/details/73325681 https://blog.csdn.net/kucoffee12/article/details/82796109 该方法会强制覆盖本地代码,也就是放弃本地修改 git fetch --all git reset --hard origin/master git pull Git提交与修改 git add 添加文件到仓库 git status 查看仓库当前的状态,显示有变更的文件。 git diff 比较文件的不同,即暂存区和工作区的差异。 git commit 提交暂存区到本地仓库。 git reset 回退版本。 git rm 删除工作区文件。 git mv 移动或重命名工作区文件。