
vcs – checkout from version control – git (not bitbucket in no case – this item is there, if you put the plugin, but it is not necessary to press it, it does not work anyway): We write in the string “VCS Repository URL “HTTPS address (not SSH) of your repository (you can get on the” Overview “page of your project in BitBuckket – the SSH button in the upper right corner – press and switch to HTTPS) – Press TEST, enter the password from the Bitbucket account, then invent the master – Password storage in IDE – if the enemies do not spin around, you can simply click OK and make sure that everything still works.
cloning the project from the repository to the computer. If installed plugin, configure bitbucket in AS ( file – settings … – BitBuckket : We write a login and password to your repository and press the TEST button to make sure that everything still works). Practical benefits, except that item appears: VCS – Import Into Version Control – Share Project … Called failed – it is necessary in order to “pour” a local project on BitBuckket – if your case, put if the project is already in the repository, then you can refrain. put in AS BitBuket plugin ( file – settings … – Plugins: browse repositories ) – in general, it can not be placed.
Configure Git in AS ( file – settings … – Version Control – Git : Indicate the path to git.exe and click the TEST button to make sure that all Works). Next instruction for bitbucket, almost the same need to do and for cloning a repository with GitHub (except for setting up a plug-in – in this case it will be a github plugin) Instructions, how to connect an existing Bitbucket or GitHub project :
Personally, I think bitbucket more preferable GitHub, as the conditions there are somewhat better, in particular free private repositories. What should I do to make all the changes from AS committed to Hithab? Or how to connect any other versions control system correctly? I create a new project in Android Studio.