赞
踩
首次使用git提交代码,需要先配置user.name 和 user.email
打开cmd,输入如下命令
Git 全局设置:
git config --global user.name “yourName” //注意,–和global之间没有空格
git config --global user.email “yourName@gmail.com”
打开想要存放项目的文件夹,点击git bash here
1.打开项目
2.新建文件
3.保存更改
4.提交到本地仓库
5.推送到gitlab
(img-adtuh08p-1642174957431)]
5.推送到gitlab
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。