相关疑难解决方法(0)

"git add -A"和"git add"之间的区别.

该命令git add [--all|-A]似乎与git add ..相同.它是否正确?如果没有,它们有何不同?

git git-add

2788
推荐指数
11
解决办法
160万
查看次数

git add -A没有在目录中添加所有修改过的文件

我想添加所有文件,无论是什么:是删除,创建,修改,未跟踪等?我只是不想与git添加所有我的文件EVERY TIME.我试过git add -A但它不是在文件夹中添加修改过的文件.

这是git status我项目的初始内容:

Rakib-MacBook-Pro:my-xcode-practice rakib$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#   (commit or discard the untracked or modified content in submodules)
#
#   modified:   BankAccount (modified content, untracked content)
#   modified:   BuckysButtons (modified content, untracked content)
# …
Run Code Online (Sandbox Code Playgroud)

git recursion

60
推荐指数
3
解决办法
7万
查看次数

标签 统计

git ×2

git-add ×1

recursion ×1