The teacher asked us to talk about git, but before that I didn't know anything about git. And my side also did not appear on the topic of git, and related books, so had to Baidu search
1 What is git?
Git is a distributed version control software and source code management system that emphasizes speed. It is not only suitable for managing the source code of large open source software, but also has many advantages in managing private documents and source code.
2 Why use Git?
* Smoother workflow, complete offline operation during development
* Fast, GIT distributed architecture allows the local repository to contain all the historical version information, you can quickly switch between different versions
* Elastic local branch, under SVN, you build a branch need to copy the source code to another folder, under Git, the cost of creating a branch is very small, only need a command
* The warehouse directory is simple, copy a project with Git, only create a git directory in the project root directory, and the other directories are clean
* content is stored in metadata and all version information is in the Git directory
* Good integrity, easier to collaborate on development
* With a wide user base, there are now thousands of open source projects using Git for project management, and there are countless code warehouses on GitHub.
Git common commands saved in albums
Although I only know some git on the Internet, teachers will lead us to understand and use it, and we should work together to learn
What is Git?