首页 > 其他 > 详细

git检出与创建的过程

时间:2016-03-11 12:07:48      阅读:221      评论:0      收藏:0      [点我收藏+]

Command line instructions

Git global setup
git config --global user.name "bingo"
git config --global user.email "xxxxx@126.com"
Create a new repository
git clone http://192.168.20.246/xxx/dm.git
cd dm
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Existing folder or Git repository
cd existing_folder
git init
git remote add origin http://192.168.20.246/xxx/dm.git
git add .
git commit
git push -u origin master

git检出与创建的过程

原文:http://www.cnblogs.com/zhengbing/p/5264735.html

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