Git 使用方法及问题记录

1、克隆仓库

git clone [email protected]:xiaobiubiu/SpringbootDemo.git

2、写入git配置文件

    git config --global user.email "[email protected]"
    git config --global user.name "Little_Y"

3、本地仓库目录里面,添加文件,之后执行add

git add -A

4、执行commit

git commit -m '提交注释'

这步不执行的话,会出现 Everything up-to-date 问题

5、推送

git push

发布了14 篇原创文章 · 获赞 17 · 访问量 4万+

猜你喜欢

转载自blog.csdn.net/liu305088020/article/details/79182923