① Download the Git tool and configure it in Android Studio
Http://git-scm.com/downloads
---------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
② Initialize the local repository, the warehouse on the Connection code cloud (on the safe side: Using the command line, using Git-bash.exe input)
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
③ cloning items on the code cloud into the local repository, using the command line (or directly using as) to submit the project for the first time (in the local project directory to build the project) to the Code cloud
(Pay attention to the local warehouse directory structure, cloning time clearly under the project, do not arbitrarily change in addition to the project documents)
--------------------------------------------------------------------------------------------------------------- --------
--------------------------------------------------------------------------------------------------------------- --------
--------------------------------------------------------------------------------------------------------------- --------
--------------------------------------------------------------------------------------------------------------- ---------
④ go to Android studio to implement engineering updates and modifications. Click Setting to set the Git plugin, click Settings sequentially, and finally appear success
--------------------------------------------------------------------------------------------------------------- --------
--------------------------------------------------------------------------------------------------------------- ---------
--------------------------------------------------------------------------------------------------------------- ------------
--------------------------------------------------------------------------------------------------------------- -------------
⑤ use as to open our project in the local directory, modify any of the files, upload to the code cloud project up
--------------------------------------------------------------------------------------------------------------- ---------------
--------------------------------------------------------------------------------------------------------------- -----------------
--------------------------------------------------------------------------------------------------------------- -----------------
--------------------------------------------------------------------------------------------------------------- -----------------
--------------------------------------------------------------------------------------------------------------- ------------------
--------------------------------------------------------------------------------------------------------------- ------------------
--------------------------------------------------------------------------------------------------------------- ------------------
--------------------------------------------------------------------------------------------------------------- ------------------
--------------------------------------------------------------------------------------------------------------- ------------------
⑥ If you want to clone a cloud project to a local repository:
--------------------------------------------------------------------------------------------------------------- ------------------
--------------------------------------------------------------------------------------------------------------- ------------------
--------------------------------------------------------------------------------------------------------------- ------------------
<<< above is a tutorial on using git in Android studio >>>
Android Studio using git tutorials