0
点赞
收藏
分享

微信扫一扫

开始收集git的一些命令,英语白的痛

苦茶如歌 2022-04-17 阅读 124
git
git config user.name   //获取当前登录的用户
git config user.email  //获取当前登录用户的邮箱
git config --global user.name 'userName'    // 修改登陆账号,userName为git账号
git config --global user.email 'email'      // 修改登陆邮箱,email为git邮箱
git config --global user.password 'password'  // 修改登陆密码,password为git密码

//下载代码 命令行进入自己想要放代码的目录
git clone https://gitee.com/xxx

//上传代码
git init
git add .
git commit -m '第一次提交'
git remote add xxx https://gitee.com/xxx
git push xxx master

收集的一些Git命令,备忘。

举报

相关推荐

0 条评论