FPGA using Git for version control

About Git

Git is a free open source distributed version control system designed to quickly and efficiently handle all projects from small to large.

Git is easy to learn, small footprint, fast performance. It goes beyond such a configuration management tools such as Subversion, CVS, Performance and ClearCase, cheap local branch has the characteristics of convenient staging area and multiple workflows.

 

Branching and merging
characteristics of Git it has its own branch model with almost every other SCM.
Git allows and encourages you to have multiple fully independent local branches. Create, merge and delete these lines need to develop a few seconds.
That means you can do the following things:

1, context switching without friction. Create a branch to try an idea submitted several times, switch back to a branch location, apply a patch, switch back to the position being tested, and merge.
2, role-based line of code. There is a branch that always contains only the contents into the production of other branches will merge into the test work, there are several smaller branches for their daily work.
3, based on the functional workflow. Created for each new feature that you are using the new branch, so you can seamlessly switch between them, then delete each branch when merging into the mainline in the function.
4, a one-time experiment. Create a branch to experiment and realized it would not work, then delete it - give up their jobs and no one else saw it (even if you also promote other branches).

It is worth noting that when you push to a remote repository, you do not have to push all the branches. You can choose to share only one branch, a number of branches, or all branches of them. As a result, people are free to try out new ideas, without worrying about how and when to merge or share with others.

There are ways to accomplish some of them through other systems, but the work involved is much more difficult and error-prone. Git makes this process very simple, it changes the way most developers to study and work at it.

 

Small and fast
Git quickly. Use Git, nearly all operations are performed locally, which makes it has tremendous speed advantage over centralized systems, and centralized systems must communicate with a server somewhere.

Git is to work on the Linux kernel and built, which means that it must effectively handle large repositories from day one. Git is written in C, reducing the overhead associated with running high-level language with when. Speed ​​and performance from the start of the main design goals Git.

Guess you like

Origin blog.csdn.net/superyan0/article/details/89669505