If we want to reflect any changes to our repository done in the project. Make Changes in the file and pushing to the repository Here is the sample repository created along with changes done in initial commit.ĥ. Pressing OK will automatically create the repository, add chosen file and share the project with GitHub. Got to ‘VCS’ –> ‘Import into Version Control’ – > ‘Share Project on GitHub’ for creating a repository on GitHub.Ĭhoose a repository name for your project.Īn automated dialog will allow you to add files for the initial commit. Select ‘VCS’ –> ‘Enable Version Control Integration…’ to enable version control for the current project.Ĭhoose the version control system for your project. And then click ‘Test’ to ensure that GitHub connection. Now, go to ‘File’ –> ‘Settings(Ctrl+Alt+S)’ –> ‘Version Control’ –> ‘GitHub’.Īdd you GitHub credentials. Or, Alternatively, you can use Terminal command: You will get the version name and message on successful test. Then click ‘Test’ to ensure that Git is configured properly in Android Studio. In Android Studio, go to ‘File’ –> ‘Settings(Ctrl+Alt+S)’ –> ‘Version Control’ –> ‘Git’.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |