AndroidStudio 上传Github


1、VCS   -->   Import Into Version Control -->  Create git  Repository  

2、打开GitBash 进入到项目的文件夹   输入 git remote add origin https://github.com/xxxxx/xxxxxx.git(项目git地址)

echo "# bbc" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/xxxxx/xxxxxx.git
git push -u origin master

3、打开AS 选择项目右键选择GIT  --> add -->Commit Directory

发布了4 篇原创文章 · 获赞 2 · 访问量 7022

猜你喜欢

转载自blog.csdn.net/weixin_33571137/article/details/98819702
今日推荐