首页 > 其他 > 详细

Command Line 4

时间:2016-11-03 07:39:18      阅读:251      评论:0      收藏:0      [点我收藏+]

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

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

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