When adding a folder with some new files into my project and doing a git status, git only tells me about the folder and not the files. When I did a add -A only the folder and no files was added and when I push and pull, only the folder and not the files come through.
What am I doing wrong?
Let's say you have the following untracked folder:
./fruits/
./fruits/apples.txt
./fruits/kiwis.txt
If you want to see the files inside the untracked folder:
git status -u
If you want to stage the untracked folder, together with the files inside it:
git add fruits/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With