git creates a project locally and pushes it to a remote newly created warehouse method

1. Clone the remote empty warehouse

2. Copy the .git folder of the remote warehouse to the local project folder

insert image description here

3. Just submit and push directly

Guess you like

Origin blog.csdn.net/DarlingYL/article/details/129832291