先安装git
git config --global user.name “GLiM” 设置你的名字
git config --global user.email “1160636727@qq.com” Email地址。
git config --global user.name 查看你的设置的名字
git config --global user.email 查看你的设置的邮箱
mkdir 名字 创建空目录
cd 名字 把名字设置为当前目录
pwd 查看当前目录
git status 查看状态代码
git add. 增加修改代码
git commit -m “完成了登录功能”
git branch 查看分支
git checkout 某某分支 切换分支
git merge 之前的分支 合并分支
git push 推送云端码云里
还在完善没写完
git提交代码
Git 基础配置与使用教程
本文介绍如何安装 Git 并进行基本配置,包括设置用户名和邮箱、创建及切换分支等操作,适合初学者快速上手。

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



