Basic git commands

  Recently I started to learn git, and the commonly used commands are recorded here.

  git branch view

 git chekout to switch directory

 git log view log

 git pull

 git branch <branch name> to create a branch

 git branch -d <branch name> delete branch  

 The git status command can list all files in the current directory that have not been managed by git and files that have been managed by git and have been modified but have not yet been submitted (git commit).

 

 git configure username mailbox command


  git config --global user.name "Name"
  git config --global user.email [email protected]

Guess you like

Origin blog.csdn.net/zhaoxiangpeng16/article/details/50998525