how i learned git

When I first learned git, there were many git tutorials on the Internet, which made people dazzled and didn't know how to start. Now that you are familiar with git, let's go back and summarize the learning method.

Generally, the official documentation is the most comprehensive, but it is not necessarily suitable for getting started quickly. We can learn some quick-start tutorials. These tutorials are not as comprehensive as the official documentation, but we can learn the most commonly used operations and are suitable for getting started.

After getting started, if you want to advance, it is recommended to go through the official tutorial.

getting Started

Recommended introductory tutorials:
* Liao Xuefeng's git tutorial
* git tutorial - Yibai

Advanced

The above introductory tutorials can only be used by you. If you want to understand the principles of git and some advanced operations, you still need to look at more comprehensive and authoritative documents.

The "pro git", known as the git bible, is recommended here. I have already released it to the v2 version at the time of writing this article. Here is the link: "pro git" - v2 .

When I first started learning git, I went to see "pro git" and felt that many concepts were difficult to understand. Later, after using git for a period of time, after having some basic concepts of git, I looked back at "pro git" and felt that it was much easier to understand.

skill tree

After learning "pro git", you can get a git skill tree:
image

learn to use help

There are too many git commands, and sometimes some parameters are easy to forget. My previous practice was to search for the corresponding command usage on the Internet. Later, I found that I could use the help of git to query directly, which saved a lot of time.

If you need help using Git, there are three ways to find manuals for Git commands:

$ git help <verb>
$ git <verb> --help
$ man git-<verb>

For example, to get the manual for the config command, execute:

$ git help config

More

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325524303&siteId=291194637