Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
Hello fellow Dev’s, this tutorial will help you in setting up GitHub using Android Studio IDE.
Android Studio comes with the Git client. All we need to do is enabling it.
As a prerequisite, you need to install git in your local environment.
Here are the steps to configure git in Android Studio
In Android Studio, go to ‘File’ –> ‘Settings(Ctrl+Alt+S)’ –> ‘Version Control’ –> ‘Git’. Then click ‘Test’ to ensure that Git is configured properly in Android Studio. You will get the version name and message on successful test.
or, Alternatively, you can use Terminal command:
git – – version
Now, go to ‘File’ –> ‘Settings(Ctrl+Alt+S)’ –> ‘Version Control’ –> ‘GitHub’.
Add you GitHub credentials. And then click ‘Test’ to ensure that GitHub connection.
Select ‘VCS’ –> ‘Enable Version Control Integration…’ to enable version control for the current project.
Choose the version control system for your project.
got to ‘VCS’ –> ‘Import into Version Control’ – > ‘Share Project on GitHub’ for creating a repository on GitHub.
Choose a repository name for your project.
An automated dialog will allow you to add files for the initial commit.
Pressing OK will automatically create the repository, add chosen file and share the project with GitHub.
Here is the sample repository created along with changes done in initial commit.
If we want to reflect any changes to our repository done in the project.
to add any changes made, press VCS commit changes button (Ctrl +K) this will automatically add all the files after ignoring from the list of file mentioned in .gitignore.
to push all the files to the server Github repository, go to ‘VCS’ –> ‘Git’ – > ‘Push…’ or press (Ctrl + Shft +k).
Congrats files are successfully pushed.
here is sample image of the project uploaded to the repository created by ourselves.
That’s all folk. Stay Updated.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Webkul is a truly trusted and supported IT Company to develop business ideas for e-commerce. They provide professional support after deploying the solution to production and be responsible to act for fixing the reported issues or system errors. We highly encourage to deal with Webkul for business development.
Hussein Zawia
Co-founder, 24Dokan
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.