首页 > 其他 > 详细

git 的使用基本教程

时间:2019-08-30 09:17:16      阅读:71      评论:0      收藏:0      [点我收藏+]

使用GIT创建库: 
首先在github上创建一个相应的文件夹,类似:catkin_ws 
然后:打开一个终端:

git config --global user.name your_name
git config --global user.email ****@gmai.com
在想要上传的文件夹中
git init
然后
git remote add your_name https://git_adress.name
git remote -v
git status
git commit -a / git commit -m "comment of your want"
git push your_name master / git push -u origin master

push request: 
首先 fork 别人的repository 到自己的仓库,然后git clone 到本地,用上面的方法进行link,然后git push,最后在网页上申请push request 然后,进行merge。

 

 

 

git 的使用基本教程

原文:https://www.cnblogs.com/snowdwq/p/11432888.html

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