I am quite new to github. I worked on a project which has multiple folders. Now when I try to push the local repo to github, only the files in the root are getting pushed (Not the files inside folders).
I am following these commands
git add .
git commit -m "message"
git push -u origin master
Can someone point out the actual commands
EDIT: Sample Folder Structure
root
/Folder1/File1.txt
/Folder1/File2.txt
/Folder1/File3.txt
/Folder1/SubFolder1/File.txt
/Folder2/File1.txt
/Folder2/File2.txt
/Folder2/File3.txt
/Folder3/SubFolder1/File.txt
/README
/index.php
Try using git add -A
. This should add everything including those files that are untracked.
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