git command line commit code

Open the git command line

Right mouse button-->git bash here

First login:

git config user.name "your name"

git config user.email "your mailbox"

After logging in, enter the following in the command window one by one

1. Git pull pull down code to local


2, git status view working tree


3. Git add. Add files


4. git commit -m "submit remarks ref task number"


5. git push to the server

Tip: You must have permission, otherwise the submission cannot be successful

Guess you like

Origin blog.csdn.net/feng8403000/article/details/80902513