git_简介

git_简介
git是一种版本控制系统,只能追踪文本文件的改动

#windows系统下git的安装
1.下载:https://git-scm.com/downloads
2.命令行输入命令:
$ git config --global user.name "Your Name"
$ git config --global user.email "[email protected]"

#创建版本库
1.通过git init命令把这个目录变成Git可以管理的仓库:
$ git init
2.把文件添加仓库:
$ git add fileName
3.把文件提交到仓库:(一次可提交多个文件)
$ git commit -m "commit message"


 

猜你喜欢

转载自www.cnblogs.com/mexding/p/8980964.html