Git's unknown sensation 11-Lee's source tree

Source: Internet
Author: User
Tags using git

The previous 10 articles are in the command line, although the loading force is good, but I would like to say, usually I also use source tree more points, command line is generally in the source tree graphics button can not find where, directly with the command line. For the first time with Git's classmate, still look at the source tree how to use it. The computer I'm using is a Mac, which may not be the same as the source tree on Windows, but it shouldn't be a big difference.

Source Tree Initial interface
Initial interface


When we just installed the source tree, we can see the dialog box, this time if we already have a warehouse in the local, you can drag to the dialog box, if you want to create a new warehouse, you can click New Repository .

New Warehouse

is a new menu, not shown here.


Paste_image.png main interface Toggle display mode
Display mode


We generally view the log tree in view mode

Function Menu

Our main operations are on the function menu


Function Menu Log

The most fascinating graphical interface is the tree-shaped interface.


Log area Commit Information

If you select a commit in the log area, you can see the commit message and the file in the red circle.


Commit Information diff

can easily see the difference


Diff Toggle Branch

A lot of orders don't have to be knocked.


Toggle the Branch Pull Code

Let's look at a concrete operation here. Other commands don't show up.


Pull Code Configuration Compare Merge Tool

We can configure the Compare merge tool to see that I am configuring beyond compare. How to configure can see this article Sourcetree config beyond compare


Configuration Comparison Tool


Using the Diff tool


Tools using Git Flow

To understand the workflow crossing can look at comparing workflows

    1. First click Git flow

      Using Git flow
    2. First click, the second time you click Git flow

      Using Git flow
    3. Choose to create a new feature try what effect
      Fill in the function name

      New feature
    4. What does it look like after creation?
      Git flow suggests that we develop new features on the new branch

      A new branch is more.
    5. Developed I want to submit the function

      New features have been developed
    6. Complete feature

      Complete feature

      Click Finish
      Click Rebase to ensure a simple history structure

      Click Rebase to ensure a simple history structure
    7. Ending
      After clicking Finish, we will return to the develop branch

      When you click Done

Text/Shenyin (book author) original link: http://www.jianshu.com/p/d9e432ad408d

Git's unknown sensation 11-Lee's source tree

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.