git operation - how to put your local repository into an existing repository on GitHub

 

 

local:

First initialize a repository in your local git init, then git add . to package all files into the repository, git -commit -m "first_commit"

At this point there is nothing, you need to git add

GitHub:

Type this command in your local repository, and your local code will be synced to GitHub

 

Guess you like

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