github

 

链接:https://github.com/ly1995/test

 

心得:

       1.使用时,需要注意:配置用户名和邮箱。 

git config --global user.name "Your Name Here"# Sets the default name for git to use when you commit

git config --global user.email "your_email@youremail.com"# Sets the default email for git to use when you commit    

       2.我还知道了git中重要的概念: 

  • 工作目录(working directory):在工作目录中修改文件,修改后的文件状态是modified,新添加的文件是untracked,通过git add命令将文件保存到staging area中;
  • staging area:保存下次即将提交到git repository中文件的snapshot。文件状态是staged,通过git commit命令提交文件到git repository中;
  • git repository:本地仓库。通过git push命令更新远端服务器仓库,通过git pull命令更新本地仓库。

        通过本次实践,我对github的使用了解了更多,希望自己能更好的独立进行操作,更加喜欢了与团队进行合作,

        在合作过程中,与老师同学交流的更好,我会继续努力,好好实践。

 

posted on 2015-04-25 16:08  ly1995  阅读(380)  评论(0编辑  收藏  举报

导航