首页 > 其他 > 详细

git使用笔记一:

时间:2015-09-14 09:23:30      阅读:204      评论:0      收藏:0      [点我收藏+]

Get code into Bitbucket fast using the command line

Command line

 I‘m starting from scratch

Set up your local directory

Set up Git on your machine if you haven‘t already.

mkdir /path/to/your/projectcd /path/to/your/projectgit initgit remote add origin https://wcj543680484@bitbucket.org/wcj543680484/test.git

Create your first file, commit, and push

echo "wang caijie" >> contributors.txtgit add contributors.txtgit commit -m ‘Initial commit with contributors‘git push -u origin master

Great job, now you‘re all set up! Get started coding or create a team and invite people to work with you.

git使用笔记一:

原文:http://www.cnblogs.com/cj2014/p/4806226.html

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