Git has become so popular that even Codeplex now promotes Git. Github is full of various high-quality open source projects, such as ruby on rails, cocos2d, etc. For programmers who are used to the Windows graphical interface, using Github requires some time and patience. However, Github recently released Github for Windows, which greatly reduces the learning cost and difficulty of use. It is even simpler than SVN. Well, if you don't believe it, let's go through it step by step: 1. Download Github for Windows from http://github-for-windows.nl.softonic.com/ and then install it.
2. Log in. After installation, open GitHub and log in with your GitHub account. It should be noted that Github for Windows will help you create an SSH Key. When you open the email, you should receive an email to help you create an SSH Key, which also saves a lot of trouble:
3. Create a repository. Click the " +Add " button above to create a new repository and enter the relevant information:
4. The newly created repository has not been actually submitted to the local repository, which is equivalent to this being just a new modification. GitHub has simplified some of the operation processes. For any modification, you only need to add a comment to submit it to the local repository, and then you can submit it to the remote repository at this time, so let's add a comment:
Each time you add a comment, it is equivalent to submitting a version to the local repository. After that, you can choose a version to submit to the remote repository. 5. Now we can publish a repository. After publishing, the button will change to "in sync", indicating that future modifications and submissions will be synchronized. At this time, you should see an extra repository on your GitHub:
6. Add a project. The repository is saved locally in a folder. Github for Windows will monitor this folder. Any changes will be seen in the repository. Then, you can submit the changes to the local repository by adding comments as above. Here we open the repository directory and add a project to it:
5. Submit the changes to the local repository. Return to Github for Windows and you can see the project you just added. Similarly, submit the comments to the local repository:
6. Finally, click sync to submit the local repository to GitHub 7. Participate in collaborative development of open source projects: GitHub now deeply supports Windows developers. There is now a "Clone in Windows" button in front of each open source project on GitHub. We can clone any open source project we are interested in, then modify it locally and participate in the development of open source projects. After clicking this button, the browser will ask you to open Github for Windows, download the project to your local computer, and create a new local repository:
Summary: GitHub for Windows simplifies some concepts and operations, and almost all major operations are completed through the graphical interface, which can basically complete daily writing. These major simplifications include: 1. Simplify push to remote repository into a sync button 2. Simplify submitting to the local repository by simply adding comments to a series of modifications. There is more, including the establishment and management of branches. You can explore this part yourself. In short, GitHub for Windows is indeed a very good tool. via:http://www.cr173.com/html/15618_1.html In addition: Attached are a few tutorials on how to use Github to create a blog : http://mrzhang.me/blog/blog-equals-github-plus-octopress.html http://home.donews.com/donews/article/1/174545.html http://beiyuu.com/github-pages/ |