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
- First click Git flow
Using Git flow
- First click, the second time you click Git flow
Using Git flow
- Choose to create a new feature try what effect
Fill in the function name
New feature
- What does it look like after creation?
Git flow suggests that we develop new features on the new branch
A new branch is more.
- Developed I want to submit the function
New features have been developed
- Complete feature
Complete feature
Click Finish
Click Rebase to ensure a simple history structure
Click Rebase to ensure a simple history structure
- 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