git for Windows Getting started essay

Source: Internet
Author: User
Tags windows download

Introduction:

  git is one of the most popular centralized version control programs (versioning is a system that records changes in several file contents for future revisions of specific revisions), and git only cares if the overall file data changes. Most other systems only care about the specific differences in file content. Git does not store the variance data that changes before and after. In fact, Git is more like taking a snapshot of a changed file and recording it in a tiny file system. Each time you submit an update, it will take a snapshot of all of the file's fingerprint information, and then save an index that points to the snapshot. To improve performance, if the file does not change, Git does not save it again, but only a link to the last saved snapshot.

This article has the following topics:

1.git for Windows installation

* 1.1 git for Windows download

* Installation steps for 1.2 git forwindows

2. Upload the item to GitHub (with the uploaded code base link: Https://github.com/pk150919/firsthello)

* 2.1 GitHub Account Registration

* 2.2 Client Upload Project steps

1.git for Windows installation

  1.1 Git for Windows download

Baidu "git download" choose git -Downloads or http://git-scm.com/

Installation steps for 1.2 git forwindows

Once you have downloaded the installation package, you are ready to install it with the following installation steps:

1. Start with the default

.

2. Default

3 Select the installation path

4. I'm a little more than the default here. On the desktop Create shortcut

5. Select Create shortcut in Start menu, select Default

6. Here I choose the second one, the command line installation.

       

7.Checkout Windows-style, commit unix-style line endings means that git Checkout automatically replaces the newline terminator with the Windows style,

Git commit when replaced with UNIX style
Checkout As-is, connit unix-style line endings means git Checkout does not change, git commit automatically replaced with the UNIX newline format character.
Checkout As-is, commit as-is means that the Checkout commit does not change the line character,
Because it is under Windows or Windows program, so I choose the third item.

8. Configure the terminal emulator to use Git Bash

Using the default console window for Windows using the default terminal

      

9. Enable File system caching

      

10. Start the installation

      

11. Choose not to read the release notes, the installation is complete.

2. Uploading items to GitHub

    2.1 GitHub Account Registration

Log in to https://github.com and select Sign in on the top right to register.

2.2 Client Upload Project steps

1. Go to the root directory where you want to host the project, right-click Git bash, pop up the client,

      

2. Tell the repository on GitHub to clone, Git clone + your warehouse address (like git clone Https://github.com/pk150919/firsthello)

      

3. Go to the root directory and copy your managed project to the directory

      

4. Enter Add. (Note that add and. are separate. Represents the current directory) add changes to the version manager

      

5. Enter git commit-m "Changes log" submitted to the local version control library, the quotation marks are your instructions for this submission.

      

But if you do not have the mailbox in the beginning, the user name and client bindings will have the above prompt, so we have to follow the instructions to bind the user name and mailbox

      

6. Finally enter GIT Push-u Origin master to submit your local repository to your GitHub account, and you will be asked to enter your GitHub account number and password.

      

7. The upload is completed here, you can go back to the project page in your github.com to see, then the next step is to learn the grammar of GitHub!

      

git for Windows Getting started essay

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.