git工具的使用方法

状态查看操作

text
1
git status 

添加到缓存区

text
1
git add

提交到本地库

text
1
git commit

查看提交的信息

text
1
git log

更新并提交

拉取

text
1
git push

添加

text
1
 git add .

提交并写日志

text
1
git commit -m"打印"

图片的描述