首页 > 其他 > 详细

Git 常用命令

时间:2021-05-07 00:23:14      阅读:23      评论:0      收藏:0      [点我收藏+]
1 git config --global user.name "agentliu"    //绑定你的git账号
1 git config --global user.email "374601428@qq.com"     //绑定你的git邮箱
1 git init  //初始化,会在项目根目录生成一个隐藏的.git文件夹
1 git add .  //提交到本地仓库
1 git commit -m "项目描述"
1 git remote add origin https://gitee.com/...  //提交地址,新建仓库里面就有,复制进来即可
1 git push -u origin master   //提交!

 

Git 常用命令

原文:https://www.cnblogs.com/ljjdyz/p/14737202.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!