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

Command Line 4

时间:2016-11-03 07:40:05      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:create   led   opera   stage   detail   sage   email   http   conf   

Using git.
1. Initialize git:

  Type git init in the desitnated folder you want to initialize.

2. Initializing a Git repository will create a folder called .git inside the repository folder:

3. Git status

  技术分享

 

 

4. Add git to the stage by using git add

5. Configuring git by tying:

  git config --global user.email "your.email@domain.com"

  git config --global user.name "Your name"

6.  A commit is a way to store a snapshot of the files in the folder at a certain point in time.

   git commit -m "Initial commit. Added script.py and README.md" #make a commit with a informative message.

7. Use git log to check the git history.

8. Use git log --stat to check the detail of the git history.

 

Command Line 4

标签:create   led   opera   stage   detail   sage   email   http   conf   

原文地址:http://www.cnblogs.com/kingoscar/p/6025139.html

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