Tuesday, August 8, 2017


When you are on developing android apps, and looking for the way how to push your code on github repository for the first time easily. then you are came to the right place. I will show you how to do it.

There are many outside explained how to push your code on the github, but this way I just wanna show you “the basic way”,if you are an expert enough with github, this tutorial may not suited with you. but if you are first time, very beginner, and never do it before, and not want to spend much time to do it this is very usefull & handfull tips. if you are not really familiar with github maybe you need to know about version control explanation, about the benefit of using it and the concept. you can read here in github page guide https://guides.github.com/activities/hello-world/.

Also there are some of rule that github restricted you to do, like providing the API key of your project to the public repository and other. you can check on here for more explanation about that https://help.github.com/ and  https://help.github.com/articles/restricting-access-to-your-organization-s-data/. 

Tools Required :
1. android studio
2. github account

So lets start.

First, if you dont have github account, create it!
then open your android studio 
open your project 
click on the toolbar - VCS -import into version control - share project on github


If you are never push any project to your github account before you need to filling forms for login in github, otherwise you just need to create new repository name, the name of repository will be your url-project location for example would be like this https://github.com/baskoroajis/Stage2.



Then you need to add your files to your initial commit, make sure to check mark all files you need to send to the repository. also you can write message for the initial commits, this message will help you to find specific description in your commits in the future.


And the final step is you just need to wait for the upload proses (look at the bottom of your android studio for the proses), then check your github account for making sure the project has been added to your account.

Contact me

Name

Email *

Message *