KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to add all files no matter what: whether it is deleted, created, modified, untracked, etc? I just don't want to git add ALL my files EVERY TIME . I tried git add -A but it is NOT adding modified files inside folders. Here is my initial git status in my project: 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) # modified: multiview (modified content, untracked content) # modified: rotator (modified content, untracked content) # modified: segmentedControls (modified content, untracked content) # no changes added to commit (use "git add" and/or "git commit -a") Then I put git add -A : Rakib-MacBook-Pro:my-xcode-practice rakib$ git add -A and then here is the new status AFTER doing git add -A : 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) # modified: multiview (modified content, untracked content) # modified: rotator (modified content, untracked content) # modified: segmentedControls (modified content, untra
Tags (comma-separated)
Save Edits
Cancel