初始化本地仓库

1.创建一个空的文件夹

2.鼠标右键点击Git Bash Here窗口

3.在窗口内鼠标右键点击Options对字体和编码及逆行设置

4.查看git安装版本:git --version

5.清屏:clear

6.设置用户名:git config --global user.name "lyc"

7.设置邮箱:git config --global user.email "[email protected]"

8.本地仓库的初始化操作:git init

9.查看git目录中隐藏目录:ll -la

扫描二维码关注公众号,回复: 11255039 查看本文章

猜你喜欢

转载自www.cnblogs.com/lyc-code/p/12945147.html