I want to upload my codes to GitHub, so I created a repository and uploaded the code initially. But the problem goes after that, when I try to push, Android Studio is telling that everything is done, but when I go to web, I see, everything is as like it was.
Let me share my screen shots here-
2 – Commit and push – I have selected “Commit and push” from the drop-down button-
3- find the success message
4- Nothing done in the reprosetory
The link of the repository is here, only 2 commits, one during the first commit and then I have added read me file in the web, only this 2 commits is existent.
The console log is like this-
13:35:30.985: cd C:\Android\CustomListview 13:35:30.999: git -c core.quotepath=false push --progress --porcelain cloud-platform refs/heads/master:master --tags github --credentials get: github: command not found github --credentials store: github: command not found To https://source.developers.google.com/p/custom-list-view-with-image/r/default = refs/heads/master:refs/heads/master [up to date] Done
Why is it not uploading?
drawable can be pushed to GitHub as follows:
- In the left panel of Android studio, right click your drawable directory.
- Choose git, add.
- Following steps are as usual.
You should check if git recognizes your
$ git remote -v
And if it doesn’t show you the link you are pushing it to, add it like this
$ git remote add cloud-platform https://github.com/abrarjahin/CustomListView-LocalImage.git