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

github

时间:2015-04-19 11:27:49      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:

Use the Github

(1) Download and install by default option 

 技术分享

(2) Find “Git bash” in the Start menu, then there will be a window similar to the command-line

 技术分享

(3)Set your own username and mailbox, by input at the commend line.

      技术分享

(4)Create a repository—D:/SPMproject, we’d better wound not use Chinese to create a directory name.

 技术分享

The result:

 技术分享

(5)Initialize to put this directory into a git repository, so that can manage it.

 技术分享

After that, we can see a folder--.git

 技术分享

(6)Add file to the repository

①use the command “git add …” to add the file to the staging area

②use the command “git commit…” to tell Git submit it to the repository

  Can write some description after “-m”

 技术分享

(7)Use the command “git status” to grasp the current state of the repository

 技术分享

 

github

标签:

原文地址:http://www.cnblogs.com/yangyang5/p/4438773.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!