Git for windows+tortoisegit client use two

Source: Internet
Author: User

It is common to use the GIT protocol to connect to the server, and then use the HTTPS method of how the connection is set up:

Log in to the GitHub server and get the remote server repository:

Create a local directory where you store the repository, and then use the Tortoisegit Client tool to clone the operation:

In the URL in the pop-up window, enter the warehouse address that you just copied on the GitHub server:

After you click OK, you are ready to clone.

Then enter the local warehouse Weixin

To view the version branch chart:

To create a branch:

Enter the name of the branch and switch to the new branch with the color selection:

At this point the default header points to the Dev branch:

Modify the contents of the Git6.txt file to add a line:

To submit a modified file in the local dev branch:

Switch to the Master branch:

Switch to the content of Git6.txt after the master branch, or no new content before:

To merge Dev and master:

After merging, open the Git6.txt content again and there are new lines to add:

Submit the merged content to the local repository master:

Finally, push the local repository to the GitHub server repository:

You will be prompted for a user name and password using the HTTPS protocol:

The number of commits to the warehouse before GitHub is:

After the submission is:

Git for windows+tortoisegit client use two

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.