This blog will help you in integrating the Github with the Android Studio IDE and also covers the whole process into very simple steps and understandable figures can make the beginners experience the things very easy.
I Recommend you to refer my previous blog “An intro to Git and Git for beginners” to understand and setting up your account at GitHub.com
How to configure Git in Android Studio
⦁ After Creating your Android Studio Project just do the below shown in Image to Configure Git Repository
⦁ Just click on the Create Git repository
Steps to be followed in Integrating the android project into Github
⦁ Create the new android studio project note the below image
Make some changes in the AndroidManifest.xml (Any changes in the project or activity file). For example, and do the following as shown in the image
Click on the Share Project on Github
After clicking on that you should get the below two dialog boxes
After logging in you have to set up the Master password for the GitHub database access. Note the below screenshot
After Clicking on the share button you should get the below screen. Take a look!
After clicking on the ok Button you should get the below screen
Now we will check on the Github.com website for the validation purpose whether the project has got uploaded or not.
Take a look at the below screenshot.
Ensure the project name is created during the step 1 process
How to commit if any changes I did in the project? Take a look at the below snapshots
As of now I have added text view
Now I want to commit the android manifest.XML (Updated one) take a look at the below snapshots
Click on the VCS (up arrow mark) to commit the changes.
You will get the below screenshot
Click on Commit and Push
After clicking on that button you will get the below dialog box
After commit, you will get the following screen.
Click on the push button
After push click, you will get the below screen.
Login to Github.com and check for the same link you will see the updated code. Take a look at the below snapshot.
You can see the “04 minutes ago” will show that the updated code for the changed file
This blog will help you in doing a smart work with respect to the Git operations
Hope you enjoyed it simple and shortcut steps for integration.
Stay tuned for the next blog!!!!!!!!!!!!!!!!!!!!
In case of any queries or any doubts you can mail us Support@acadgild.com