gpt4 book ai didi

Android Studio - GitHub Push 无法正常工作

转载 作者:行者123 更新时间:2023-11-29 01:31:27 26 4
gpt4 key购买 nike

我想将我的代码上传到 GitHub,所以我首先创建了一个存储库并上传了代码。但是问题在那之后出现了,当我尝试推送时,Android Studio 告诉我一切都已完成,但是当我访问网络时,我看到,一切都和原来一样。

让我在这里分享我的屏幕截图-

1-开始提交

Starting commit

2 - 提交并推送 - 我从下 pull 按钮中选择了“提交并推送”-

Commit and push

3-找到成功信息

enter image description here

4- 没有做任何事情

enter image description here

存储库的链接是 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

为什么上传不了?

最佳答案

drawable可以推送到GitHub,如下:

  1. 在 Android Studio 的左侧面板中,右键单击您的可绘制目录。
  2. 选择 git,添加。 (Ctrl+Alt+A)
  3. 以下步骤与往常一样。
  4. 完成!

关于Android Studio - GitHub Push 无法正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30962154/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com