How do you synchronise projects to GitHub with And

2019-01-04 04:53发布

I am trying to synchronise a project that I have on in my Android Studio folder to GitHub, but I am not fully sure what to do other than adding my credentials in the options menu. Could someone give me a quick guide, please?

10条回答
叛逆
2楼-- · 2019-01-04 05:18

In the version of Android Studio I have (0.3.2), it was as easy as using the menu.

VCS Menu > Git > Share on GitHub.

It will then ask you for your credentials, and then a name for your new repo, and that's it!

查看更多
疯言疯语
3楼-- · 2019-01-04 05:20

For Android Studio 0.8.9: VCS --> Import into version contraol --> Share project on Github. It doesn't give you option to share in a specific repository or at least I couldn't find (my limitation!).

You can add your github info here: File --> Settings --> Version COntraol --> Github.

查看更多
该账号已被封号
4楼-- · 2019-01-04 05:25

On Android Studio 1.0.2 you only need to go VCS-> Import into Version control -> Share Project on GitHub.

Pop up will appear asking for the repo name.

查看更多
等我变得足够好
5楼-- · 2019-01-04 05:29

Android Studio 3.0

I love how easy this is in Android Studio.

1. Enter your GitHub login info

In Android Studio go to File > Settings > Version Control > GitHub. Then enter your GitHub username and password. (You only have to do this step once. For future projects you can skip it.)

enter image description here

2. Share your project

With your Android Studio project open, go to VCS > Import into Version Control > Share Project on GitHub.

Then click Share and OK.

enter image description here

That's all!

查看更多
登录 后发表回答