git installation and IDEA integration

 

 Linux

  1. sudo apt-get install git
  2. Enter git to test whether the installation is successful
  3. Configure git username and email 

     git config --global user.name 'XXXXXX'
     git config --global user.email 'XXXXXX'

     4. Generate public key
     ssh-keygen -C'[email protected]' -t rsa
     5. Upload public key

      gitLab settings: Setting-->SSH KEYS 

 

Windows

  1. Download
     https://git-scm.com/downloads
  2. Install
  

 

  • Mac

  1. Enter git in the terminal to install directly

Guess you like

Origin blog.csdn.net/dabaoting/article/details/80734663