- git init 初始化
- git status 查看当前文件状态
- git config --global user.email "you@example.com" 设置提交的用户
- git add . 提交工作区修改后的代码到暂存区
- git commit -m "init mark" 提交暂存区代码(git commit --amend --no-edit 未push之前使用追加修改)
- git log 日志
- git remote add origin https://github.com/zhangt9649GitHub/springboot0624.git
- git push -u origin master
- 之后继续提交的话就是 git add . --> git status --> git commit -m "mark" --> git push
- gitHub删除已有仓库 https://www.cnblogs.com/forget406/p/6045213.html
- 注意:不需要选择README.md
git代码提交步骤
最新推荐文章于 2022-03-29 09:41:12 发布