1.git clone xxx项目git地址(eg:git@192.168.122.141:xdb-service/xdb-service.git)
git clone git@192.168.122.141:xdb-service/xdb-service.git
2.git pull 拉取项目/git pull --rebase
3.git push 提交代码到远程服务器 /git push origin 分支名
4.git branch/git branch -a 查看分支
5.git checkout 分支名 切换分支
本文提供了Git操作的基本指南,包括克隆项目、拉取更新、提交代码、查看分支及切换分支等关键步骤,适合初学者快速上手及日常使用参考。
73万+

被折叠的 条评论
为什么被折叠?



