On enable, we will get a dialog window with options to choose like CVS, Git, Mercurial and Subversion. This step is for an already existing project in Android Studio, that is not is integrated with any version control. In Android Studio, got to ‘VCS’ –> ‘Enable Version Control Integration’. Prior to using Git or any other version control with an existing project, ‘version control integration’ should be enabled. Then click ‘Test’ to ensure that Git is configured properly in Android Studio. In Android Studio, go to ‘File’ –> ‘Settings’ –> ‘Version Control’ –> ‘Git’. Add files by, VCS –> Git –> Add and commit/push by, VCS –> Commit Changes.Open command line/terminal and add the project to Git repository by, git remote add.In Android Studio enable the version control for the project by, VCS –> Enable Version Control Integration.For the rest of us, just skip this part and proceed with the detailed steps. If you are an experienced developer, comfortable with Android Studio and Git, then this section summarizes the whole tutorial. You can download Git from and install it. As a prerequisite, you need to have Git installed in local system. All we need to do is just enable and start using it. Git with Android StudioĪndroid studio comes with Git client. To help you settle with it, I have listed essential Android Studio shortcuts in an earlier tutorial. It is easy to migrate and it will take just a couple of days to get used to Android Studio. Android Studio is the official IDE for Android development and it is based on IntelliJ IDEA. Git is a good choice from among the list of version control software like CVS, Subversion and ClearCase.Īndroid Studio is best in comparison with Eclipse when it comes to Android development. If you are not using version control for software development, I urge you to start learning and using it. Git is a free distributed version control system. This tutorial is to explain how to use Git version control with Android Studio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |