Articles → Git → Integrate Github In Android Studio

Integrate Github In Android Studio






Add Github Account In Android Studio




  1. Open android studio.
  2. Go to File → Settings…. Following window will appear
  3. Picture showing the Settings screen in the android studio
    Click to Enlarge

  4. Go to Version Control → GitHub.
  5. Click on ‘Add account’ link. Following popup will appear
  6. Picture showing the screen to login to Github
    Click to Enlarge

  7. Enter the login and password and click on Log In.
  8. Github account is added.
  9. Picture showing the github repository added to android studio
    Click to Enlarge



Clone A Project From Github




  1. Go to File → New → Project From Version Control Git
  2. Picture showing the Project From Version Control Git menu for clonning the repository
    Click to Enlarge

  3. Following window will appear
  4. Picture showing a popup window for clonning the repository
    Click to Enlarge

  5. In this window, enter the github URL and local folder path and click on ‘Clone’ button.
  6. A copy is created on the local drive.


  7. Picture showing the Clone... menu for clonning the repository
    Click to Enlarge



How To Commit Changes?




Picture showing a window for committing the changes
Click to Enlarge




How To Push And Pull Changes?




  1. VCS Git → Push for pushing changes
  2. VCS → Git Pull for pulling changes



Posted By  -  Karan Gupta
 
Posted On  -  Thursday, October 31, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250