1、msysgit 是 Windows 版的 Git可以百度搜索Git下载。
2、安装完成后,开始菜单里找到“Git”->“Git Bash”打开Git。
3、注册用户信息:首先配置你的用户信息的Git命令。
$ git config --global user.name "Your Name" 
$ git config --global user.email "email@example.com"
4、配置完成后使用 $ git config --list查看配置的用户信息、
5、创建版本库$ cd d: 和cd MyGit进入新建的Git目录(什么是版本库?版本库又名仓库,英文名repository,你可以简单的理解一个目录)
6、$ mkdir project  # 创建项目目录 ,$ cd project  # 进入到项目目录.
7、git init  # 初始化 git 仓库。此命令会在当前目录新建一个 .git 目录,用于存储 git 仓库的相关信息 ,把这个目录变成git可以管理的仓库.
8、以上就是Git创建版本库操作方法

相关文章:

  • 2022-12-23
  • 1970-01-01
  • 2022-01-03
  • 2022-12-23
  • 2021-05-21
  • 2021-10-13
  • 2021-11-04
猜你喜欢
  • 2022-01-30
  • 2022-12-23
  • 2022-01-13
  • 2021-11-18
  • 2021-07-07
  • 2021-05-21
  • 2021-12-06
相关资源
相似解决方案