git 命令学习

post image

git init 初始化仓库

之后ls -al

能看到隐藏目录 .git

gitstatus 查看当前状态

post image

git add README.md

post image

git commit -m ‘init‘ 提交

post image

一步提交,越过add

post image

查看当前分支

post image

创建分支

git checkout -b feature/installation

post image