Git was originally a distributed version control/Software Configuration Management software created by denas torwaz to better manage Linux kernel development. Later, the GIT kernel was mature and can be used independently for version control. Many well-known software use git for version control, including Linux kernel, X. org server, and OLPC kernel development.
When using GitHub for collaboration, we often need to install the corresponding software on the client. This article describes how to use GitHub for Windows.ArticleIt is good to take us to get started with GitHub and a gitshell tool. This tool can run all the commands on GitHub, but it is very troublesome to input commands. graphical operations can provide efficiency. Smartgit is a very good git version control system graphical ClientProgramBut it is billed. We can use the non-commercial cial version.
When using smartgit, pay attention to the following points:
1. The file is the smallest unit for synchronization. Each person has the ownership of a file. Others should not make any changes (the Protocol is better than the configuration). If two people jointly maintain a file, one person completes the synchronization operation.
2. The latest version of pull on GitHub is required before pushing to GitHub.
3. Before pushing, review the modified version (only push files with ownership). You can click the review button in the upper right corner to compare the similarities and differences between the old and new versions.
Regarding the issue of graph branches on GitHub, if it is well established that each person performs operations in a serialized manner based on the above points, there will be no "branch". Of course there is no problem with the branches. This is a normal phenomenon and GitHub also supports this.
If no other branch is required, we need to select the current branch master for push during push.
Related Articles:
How to merge code from git code library to your own library
GitHub and smartgit instructions and Suggestions
Getting started with GitHub