I'm learning to use github and here's my problem.
I uploaded my program to github as always (git add, commit, push). Then I noticed that the files in one of the folders are missing, replaced by .gitignore
The contents of the "src" folder should be as follows:
src -> model, controller
model -> x.java, y.java z.java
controller -> w.java
Instead of the above, there is only a single .gitignore file in src. The contents of the file are something like:
/model/
/controller/
Why did this happen and how can I fix this?