user3076750
user3076750

Reputation: 115

GitHub for Windows not recognizing new files

I have a repo to which I have been adding and updating code on a regular basis for the last few months. I just created two new java files. I did a github commit and sync. I noticed on github.com the files did not show up. I then noticed they do not appear on GitHub Windows. I then created more files and they do not appear in in GitHub either.
Other pre-existing files that have been modified, correctly appear in GitHub and are updated.

I have tried:

How do I get github to start recognizing newly created files?

Upvotes: 1

Views: 262

Answers (1)

M Monis Ahmed Khan
M Monis Ahmed Khan

Reputation: 640

If you have untracked java files, try

git add *.java

Then git commit and push code to repo.....

Upvotes: 1

Related Questions