Git commands (incomplete)

Git Bash operation

  1. Set user name and email address
    Set up a submission user for the computer, and when submitting to the remote warehouse, tell the remote warehouse who submitted the code.
$ git config --global user.email "<your email>"
$ git config --global user.name "<your name>>"
  1. View git version information
$ git --version
  1. View git configuration information
$ git --list
  1. clone project
$ git clone https://oauth2:[email protected]/xxxx/xxxx.git

Reference URL

1. Introduction to Git

Guess you like

Origin blog.csdn.net/qq_44726330/article/details/118357915