Git is a distributed version control system that was originally written by Linus Torvalds and used as the management of Linux kernel code. As a programmer, we need to master its usage.
As an open source code base and version control system, GitHub currently has more than 1.4 million developer users. As more and more applications move to the cloud, GitHub has become the preferred method for managing software development and discovering existing code. Chris Wanstrath, its co-founder, once called it the "Encyclopedia of Programmers".
GitHub uses a git distributed version control system, and Git was originally created by Linus Torvalds to help with Linux development, which is for Linux platforms, so git and windows are never the best friends because it's not like windows 。 GitHub released GitHub for Windows, providing an easy-to-use Git graphics Client for Windows platform developers.
GitHub for Windows is a Metro-style application that integrates the posh-git extension of the self-contained version of the Git,bash command line Shell,powershell. GitHub provides a basic graphical front-end for Windows users to handle most common versioning tasks, creating repositories, submitting patches to the local repository, and synchronizing between local and remote repositories. Microsoft also provides developers with a GIT version control system through CodePlex, and GitHub has created a more compelling version of Windows.
One: Download github for Windows 2.0
: https://windows.github.com/
Two: Install GitHub
Click after download
The installation process will have two icons on the desktop after installation, such as
Three: New project
GitHub is a graphical interface mode, and Git Shell is a command-line mode that we use GitHub for code management under Windows systems.
1: Open GitHub GUI, enter username password or register new account, such as:
2: New Project after Login
In the top left corner, click
Create a new project as shown in:
After new, as shown:
Looking for the path you just selected on your computer, you will find a new "Temp" folder under that path, as shown in:
Click on the top right corner of the software
Fill in the item description as shown:
Next click on the top right corner
Expand and then click
View the project details in the browser, as shown in:
3: In the computer, add a blank document under the Temp folder "test. doc" as shown in:
Next Open the GitHub program, you will find the interface changes, then follow the prompts to fill in the content, and then click
Submit, as shown:
After submission as shown, then click on the upper right corner
To synchronize
After synchronization is viewed in the browser, the number of times the item has been submitted has become "2", as shown in:
Click
You can view the previous version as shown in:
Four: Modify the project
In the computer, modify the previously created blank document "test. doc" as shown in:
Once you have modified the save, commit the synchronization again in the software, as shown in the following:
After synchronizing and then viewing in the browser, the number of submissions has been changed to 3 times, then you can download the second and third submitted documents separately, you can compare the content of our changes.
Five: Delete items
To delete unwanted items, click on the lower right
Go to the Delete page and click on the bottom of the page
Pop-up the Delete box, then fill in the name of the deleted item and click
To delete, as shown in:
Six: Ending Whispers
GitHub for Windows simplifies some concepts and operations, and almost all of the main operations are done through a graphical interface that basically completes everyday writing. These major simplifications include the following:
1. Simplify push to remote repository as a sync button
2. Submit to the local warehouse simplified to add comments only to some column modifications
More, it also includes the establishment and management of branches, this part to explore it yourself, in short, GitHub for Windows is really a very good tool.
GitHub is a very powerful feature, but it's a bit difficult for novices to use, and this article just demonstrates simple usage, and then, if you have time to talk about GitHub's usage in detail.
GitHub for Windows clients use the action flow