Why are Git tutorials so complicated?

  • Many instructions, working principles, etc. are not used by most people in daily work and study. Therefore, as a tool, git is not suitable for systematic and comprehensive learning.
  • GIT itself is complicated. Some tutorials on the Internet have more than 30 episodes, or even more than 50 levels, with a high probability of being comprehensive and systematic teaching.
  • In daily work and study, learn on demand and don't follow blindly.

What is Git

Git is an open source distributed source code management system. Git allows you to create a copy of a repository called a "branch". Using this branch, you can write code independently of the stable version of the codebase . When you're ready to make changes, you can store them as a set of diffs, called a "commit". You can pull other contributors' commits into your own repository, push your commits to others, and merge commits into a major version of the repository.

Install and configure GIT

How to install and configure GIT, recommend the following articles

Git installation and configuration (detailed) Develop Paper

Windows system Git installation tutorial (detailed Git installation process) - Programmer Sought

Git download, installation and configuration - Zhihu

What are the advantages of Git?

  • Historical Change Tracking  - You can see a graph of how commits have changed over time, see who made what changes when, and revert to previous commits if needed. With the help of the history feature, you can more easily identify and fix errors.
  • Team Collaboration  - You can easily share code with team members for review before committing or merging back into the main working branch. In addition, branching and review features facilitate simultaneous development. Multiple people can work on the same file and resolve differences later.
  • Increase team development velocity and productivity  - Teams can leverage Git to easily track code changes. Now you can focus on writing code instead of spending time tracking and merging different versions across your team. Additionally, Git performs computations and stores your main repository locally, making most operations faster than a centralized VCS.
  • Availability and redundancy  - Git is a distributed VCS, that is, it does not have a single central location where everything is stored centrally. In a distributed system , if you need backups, you have multiple backups. This allows you to work offline and submit changes when you're done.
  • Git is an industry standard  - Due to its popularity, Git is supported by many integrated development environments  (IDEs) and many popular developer tools, including AWS CodeCommit, Jenkins, Travis, and more.

How to learn git better

  • Learn to master common commands

(Common command of GIT)

  • Learn GIT with ChatGPT

[ChatGPT Private Education Series] (1) Learn the git recording process from scratch: basic operations  https://bahargul.cn/archives/182

[ChatGPT Private Education Series] (2) Learn the git recording process from scratch: logseq synchronization practice  https://bahargul.cn/archives/185

  • video tutorial learning

[Easy introduction to GIT version management tools]

https://www.sikiedu.com/course/775

  • document learning

【Official document】

https://git-scm.com/book/zh/v2

【Rookie Tutorial】

https://www.runoob.com/git/git-tutorial.html

  • website

[Learn Git Branching] is a visual learning tool for Git. It teaches you to learn Git in an interactive way, and provides a series of challenges. It can help you understand Git operations and commands through visualization and challenges.

https://learngitbranching.js.org

Guess you like

Origin blog.csdn.net/soukenan/article/details/131593824