获得徽章 0
- Git常用命令:
- git init:初始化一个新的Git仓库。
- git clone <url>:克隆一个远程仓库。
- git add <file>:将文件添加到暂存区。
- git commit -m "<message>":提交暂存区的改动。
- git status:查看仓库的状态。
- git log:查看提交历史。
- git branch <branch>:创建一个新的分支。
- git checkout <branch>:切换到指定的分支。
- git merge <branch>:将指定分支的改动合并到当前分支。
- git pull:从远程仓库拉取最新的改动。
- git push <remote> <branch>:将本地的改动推送到远程仓库。展开2点赞
![[思考]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_15.f58c082.png)
![[无辜呆]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_96.4fb9d71.png)
![[耶]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_72.04f3881.png)
![[看]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_97.39cdc9f.png)
![[抠鼻]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_39.5b41924.png)