How to add Android Apps to GitHub

In this tutorial, we are going to add an Android application to GitHub. It will help you to how to use the version control system (VCS) for tracking changes in computer files and coordinating work on those files among multiple people and source-code management in software development also.                     

Note: Git is a revision control system, a tool to manage your source code history. GitHub is a hosting service for Git repositories. So they are not the same thing: Git is the tool, GitHub is the service for projects that use Git.

Youtube:-https://www.youtube.com/watch?v=RWFokMi58nQ&t

1.sign up and create a GitHub account.

2. Download git from https://git-scm.com/downloads and install it in your system.

3.Open the project in android studio and go to File -> Settings -> Version Control -> Git.

Navigate the correct path to Path to Git executable, normally the file installed in C:\Program Files\Git\cmd\git.exe directory. (Click on the test button to make sure that’s correct or not.)

4. Go to File -> Settings -> Version Control,  make sure there is no entry in that Directory. If any entry in that Directory press minus button to delete that.

5. Then go to VCS -> Import into Version Control -> Share Project on GitHub. Now you can see a window for login to GitHub, select Auth Type to Password and Login to your GitHub account using GitHub username(or email id) and password.

6. In the next window  Enter Repository name, Description and click the Share button.

7. check all files in order to add files for initial commit and click OK.

8. Now the project will be uploaded to the GitHub repository and when uploading is finished you will get a message in the android studio showing “Successfully shared the project on GitHub”.

Go to GitHub to look at your Repository.

That’s It.

Keep exploring more tutorial from this site. In case of any queries make a comment. Happy coding!!!!

Tags:,

Add a Comment

Your email address will not be published. Required fields are marked *