Git Series 1: Installation

Article Directory

Choose your own corresponding system to install

Linux

  • sudo apt-get install git

  • Enter git to test whether the installation is successful

  • Configure git username and email

    • git config --global user.name ‘XXXXXX’
    • git config --global user.email ‘XXXXXX’
  • Generate public key

  • Upload public key
    gitLab

    • The settings are as follows: Setting-->SSH KEYS

Windows

  • download
    • https://git-scm.com/downloads
  • installation

Mac

  • Enter git in the terminal to install directly

Guess you like

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