Own work area and git submission area

According to your own work needs:
put the files in the work area in the submission area and prepare to submit git
Step 1:
First pull in the submission area

git pull

As shown in the figure:
Insert picture description hereStep 2:
Then put your own change file to the designated location corresponding to the submission area
Insert picture description here

Step 3: To
view the current file

git status 

Insert picture description hereStep 4: Then start adding.
Use git add to add locally modified or added files.
Insert picture description here
Insert picture description here
Step 5: To add commit information, you must add
git commit -m "update instructions"

git commit -m "更新说明"

Insert picture description here

Step 6: Push

git push origin master

Then something went wrong. Then do the following

https://blog.csdn.net/milijiangjun/article/details/108193090

Step by step from step 4

Guess you like

Origin blog.csdn.net/milijiangjun/article/details/108492749