GitTree desktop manual
Branches and tags
Branches let you work on several things at once; tags mark releases. This section covers both, local and remote.
Create and switch branches
A branch is a movable name for a line of work. In GitTree, Branch in the toolbar creates one at the commit you are on; right-click any commit to create one there. Double-click a branch label to switch to it.
FreeRename and delete branches
Right-click a branch label for Rename and Delete. Deleting a local branch saves its last commit under
Freerefs/ogt/trashfirst, so Undo brings it back; deleting on the remote is a separate, clearly named choice.Create and manage tags
A tag is a fixed name for one commit, usually a release such as
Freev2.2.0. Right-click a commit, choose Tag Here, then a lightweight or an annotated tag. Tags are not pushed with your commits: push each one with Push Tag.Set tracking and publish a branch
A new branch exists only on your computer until you push it. The first Push asks which remote to send it to, and from then on the branch tracks that remote branch (its upstream), like
Freegit push -u. Set Upstream… changes what it tracks.Compare branches and tags
Compare References… compares any two branches, tags, remote branches or commits by name. It shows how many commits one is ahead of and behind the other, and the files that differ: either every difference (
Freegit diff A B) or only what the new side changed since they split (A...B, what a pull request shows).Use Gitflow actions
Gitflow is a branching model with a production branch, a development branch, and feature, release and hotfix branches. GitTree’s Gitflow section initialises it and starts and finishes those branches, merging, tagging and deleting them for you.
FreeRecognize and leave detached HEAD
Checking out a commit or a tag instead of a branch puts you on a detached HEAD: you are not on any branch. You can look around and even commit, but new commits belong to no branch. Create a branch to keep them, or check out a branch to go back.
Free