【发布时间】:2015-09-06 20:29:53
【问题描述】:
我想将我的代码上传到 GitHub,所以我创建了一个存储库并最初上传了代码。但问题是在那之后,当我尝试推送时,Android Studio 告诉我一切都完成了,但是当我去网络时,我看到,一切都和原来一样。
让我在这里分享我的屏幕截图-
1-开始提交
2 - 提交并推送 - 我已从下拉按钮中选择“提交并推送”-
3- 查找成功消息
4- 在repository 中什么也没做
存储库的链接是here,只有2次提交,第一次提交时有一次,然后我在网上添加了自述文件,只有这2次提交。
控制台日志是这样的-
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
为什么不上传?
【问题讨论】:
-
可以分享一下版本控制的控制台日志吗?
-
git remote -v返回什么? “云平台”指的是什么? -
谢谢!我认为目的地是错误的。应该是到github.com/abrarjahin/CustomListView-LocalImage.git?请检查 git 存储库。
标签: android git github android-studio