扫码关注官方订阅号
新建的 Android 项目,根据网上的教程 Push 到 github 上,进入 Github 发现只有一个 app 文件夹。
使用的是 Android Studio 2.0 。
学习是最好的投资!
只要你的项目添加了git与Github远程仓库地址就可以通过以下方法提交到Github上:git init git remote add origin xxxxx(远程仓库地址)git add .git commit -m "xxx"(提交描述)git push -u origin master
如果Github上有README.md 文件需要先同步一下git pull --rebase orign master
找到问题了,add 的时候只 add 了 app module,没有 add 整个项目。
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
只要你的项目添加了git与Github远程仓库地址就可以通过以下方法提交到Github上:
git init
git remote add origin xxxxx(远程仓库地址)
git add .
git commit -m "xxx"(提交描述)
git push -u origin master
如果Github上有README.md 文件需要先同步一下
git pull --rebase orign master
找到问题了,add 的时候只 add 了 app module,没有 add 整个项目。