码迷,mamicode.com
首页 > 其他好文 > 详细

git使用笔记一:

时间:2015-09-14 09:24:01      阅读:124      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!