git 更新项目代码

首先添加需要更新的代码目录

git add <file>

然后

git commit -m "message"可以添加代码信息

git commit -help可以查看使用帮助

最后push本地仓库

git push

完成

 

使用git status可以查看当前本地仓库状态

 
posted @ 2020-07-07 18:27  没有窗户的小巷  阅读(531)  评论(0编辑  收藏  举报