github upload modified files

Preface

Some files in the project have been modified and need to be uploaded to github.

step

Step 1: git statusCheck the status of the project, and find that the red letter part is the modified file.
Insert picture description here
Step 2: git add 被修改的文件名
Insert picture description here
Step 3: Use to git statuscheck the status of the project again , and find that it turns greenInsert picture description here
. Step 4: git commit -m '一段描述'Add the newly added file to the local Temporary area
Insert picture description here
Step 5: git pushSubmit to github
Insert picture description here

reference

Use git commands to clone, add, and modify files from github

Thanks Kuchuki o0 big guy~

Guess you like

Origin blog.csdn.net/jokerxsy/article/details/113786040