您现在的位置:首页 >> 前端 >> 内容

git的简单使用教程

时间:2017/10/10 14:17:00 点击:

  核心提示:1.从https://msysgit.github.io/下载2.在开始菜单?里找到Git-Git Bash,3.安装完成后,还需要最后?一步设置,在命令?行输?入:$ git config --gl...

1.从https://msysgit.github.io/下载

2.在开始菜单?里找到“Git”->“Git Bash”,

3.安装完成后,还需要最后?一步设置,在命令?行输?入:

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

$ git config --global user.email "email@example.com"

4.$ git init

5.$ git add 文件名

6.$ git commit -m “第一添加备注”

7.$ git log

Tags:GI IT T的 的简 
作者:网络 来源:weixin_396