Simply use git to upload code

1. First create a repository on github

 

2. Right-click in the local directory and select git bash

 

3. Clone the repository on github to a local directory, (this is your repository)

 git clone https://github.com/KeKangShui/drill_src.git

A drill_src directory will be generated locally, and all files that need to be uploaded will be moved to this directory.

4, cd drill_src switch to this directory, 

  git add . add all directories

5,git commit -m "first commit"

6. Follow the prompts to enter the user name and password.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324687602&siteId=291194637