1

I am pushing my project to github,but the java files are not there. However,I can see the res folder and its files...The proceedure I followed was.

VCS-->Enable Version Control->Git.

And then

VCS-->Import into version control-->Share project on Github.

Any ideas? I am new to github.

To have a better idea of my problem please check this link. You will notice what files are missing

Thanks.

Theo
  • 3,099
  • 12
  • 53
  • 94

1 Answers1

4

Check if you added the files missing to be handled by Git. (Select them, right click Git -> Add OR VCS -> Git -> Add)

eleonzx
  • 677
  • 10
  • 16
  • Nothings happens:(. The files inside the package don't have red or green colors,which means that they are already pushed! – Theo Mar 07 '16 at 18:26
  • Anyway,how do delete the project from the repository? I mean to disconnect the project in Android Studio from Git. – Theo Mar 07 '16 at 18:28
  • To delete the repo Just remove .git dir inside the root where you created the repo. http://stackoverflow.com/questions/1213430/how-to-fully-delete-a-git-repository-created-with-init – eleonzx Mar 07 '16 at 20:37
  • Ok I fixed it. Thanks. :) – Theo Mar 08 '16 at 15:41
  • is this a bug? .gitignore ignores my .java files – Pavel Zaitsev Oct 11 '17 at 15:36