链接: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的使用了解了更多,希望自己能更好的独立进行操作,更加喜欢了与团队进行合作,

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

 

转载于:https://www.cnblogs.com/ly1995/p/4456081.html

Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐