-
git add -Astages All -
git add .stages new and modified, without deleted
-
git add -ustages modified and deleted, without new
git add -u .
git commit -m "kkkkkkkkkkkkk"
git push origin master
本文详细介绍了如何使用 Git 进行文件添加、添加到暂存区、提交到本地仓库以及推送至远程仓库的操作流程。包括 `git add` 命令的不同用法,如 `git add -A`、`git add .`、`git add modified`、`git add modified deleted` 和 `git add u` 的具体应用场景。
git add -A stages Allgit add . stages
new and modified, without deletedgit add -u stages
modified and deleted, without new
被折叠的 条评论
为什么被折叠?