Github pushes the local folder to the remote built warehouse
Enterprise
2023-06-25 05:08:30
views: null
1. Open the folder
2. Click the right mouse button in the blank space and select git bash to open
3. Make this directory a directory that git can manage [git init]
4. Add all files to the temporary storage area [git add . ]
5. Submit the files in the temporary storage area to the local warehouse [git commit -m "commit information written by myself"]
6. Associate the remote library [git remote add origin remote warehouse address]
7. Push to the remote library [git push -u origin master] (the latter master is the branch name, you can decide which branch to push to)
Here it is successfully solved! ! ! You can go to the remote warehouse to see if the code is successfully uploaded
Origin blog.csdn.net/DarlingYL/article/details/126386369