SourceTree is Windows and Mac OS X under free Git and Hg client management tools, but also Mn version control system tools. It supports the creation, cloning, submit, push, pull and merge operations.
Download Path:
https://www.sourcetreeapp.com/
Install the software
Bitbucket need to register an account, and then step by step installation on the line
Here you can not choose
After Bahrain, there will be a client
Click Open. It can be directly cloned code. And operating the same command line. You can use http mode. You can also use ssh mode. All OK.
After cloning is completed. The following code directory there.
Complete the project
Then we use sourcetree tool, after the completion of two unfinished projects before dev2 of.
The same steps to create a branch.
After creation. We saw. Already in the current branch below the
Then we went to the following projects, the completion code.
After the code is complete, return to sourcetree, will automatically monitor to a file.
Then follow the steps. Step by step submission.
This step is equivalent to git add
This step is equivalent to commit
It will be displayed after the submission is complete.
Then we push up the code.
This is not the equivalent of push
Do not choose the wrong branch.
This push is complete.
Push upon completion. We use the dev2 account gitlab, be submitted to merge the operations. This step is the same as before.
Submitter and milestone not wrong. Because here is another set of test conditions. Before I did not hit milestone. So here is no. To be in accordance with the actual situation.
Then use pm1 account. Boarded go. He agreed to merge ok.
Merge finished. It will be displayed.
Look at the code into the project. Everything.
We look sourcetree, you can see him commit code process (by default automatically monitored, not to manually pull once).
When this project is complete. We can put him on the line. We can give him a tag
Instructions may also be used.
To play tag
This is done