Android Studio will upload the code to the code hosting platform

Do not use git command line, only a simple operation in Android Studio, code upload.

First, the computer compulsory installation git, git here is not to explain the installation process, and begin uploading the code.

A, AS the top menu bar VCS -> Checkout from Version Control -> Git

 Second, copy the URL warehouse

 

 

 

 Enter the URL later, you can press the Test test after a successful press Clone.

Third, confirm

 

 

 Can be opened (This Window) or a new window (New Window) in this window, a new window opens in here.

 

 

 Fourth, right-click the project root directory -> Git -> Add

 In the new window, change the view to Project mode.

 

 Fifth, after the success, you can copy the code you need to upload came

 

 

 

 

 Sixth, right-click the project directory -> Git -> Commit Directory

 

 Description commit Content

 

 Bottom left shows success

 

 Seven, right-click the project root directory -> Git -> Repository -> Push

 

Push to confirm

 

 

 Eight, uploaded successfully

Guess you like

Origin www.cnblogs.com/lyw-hunnu/p/12151741.html