2. Introduction to Git

1 A brief history of Git

![(https://img-blog.csdnimg.cn/20210326122528535.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0x1MTA0ODcyODczMQ==,size_16,color_FFFFFF,t_70)

2 Git official website

http://git-scm.com/ enter

3 Advantages of Git

  • Most of the operations are done locally, no networking is required
  • Integrity guarantee
  • Add data as much as possible instead of deleting or modifying data
  • Branch operation is very fast and smooth
  • Fully compatible with Linux commands

4 Git structure

Insert picture description here

5 Git and code hosting center

  • The task of the code hosting center: maintain the remote library
  • In the local area network environment
    • GitLab server
  • In the external network environment
    • GitHub
    • Code Cloud

6 Local library and remote library

6.1 Collaboration within the team

Insert picture description here

6.2 Cross-team collaboration

Insert picture description here

Guess you like

Origin blog.csdn.net/Lu1048728731/article/details/115237046