Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 2fc8b15

Browse files
author
Meaghan Lewis
committed
add docs for managing branches
1 parent b3d5752 commit 2fc8b15

File tree

9 files changed

+61
-0
lines changed

9 files changed

+61
-0
lines changed
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

docs/using/images/name-branch.png

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

docs/using/managing-branches.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Managing branches
2+
3+
Initial **Branches** view
4+
<img src="images/branches-initial-view.png" alt="Post commit view"/>
5+
6+
## Create branch
7+
8+
1. From the **Branches** view, click on `master` under local branches to enable the `New Branch` button and be able to create a new branch from master.
9+
2. Click on `New Branch`.
10+
<img src="images/create-new-branch-view.png" alt="Post commit view"/>
11+
12+
3. Enter a name for the branch and click `Create`.
13+
<img src="images/name-branch.png" alt="Post commit view"/>
14+
15+
4. The new branch will be created from master.
16+
<img src="images/new-branch-created.png" alt="Post commit view"/>
17+
18+
## Checkout branch
19+
20+
1. Right-click on a local branch and select `Switch` or double-click on the branch to switch to it.
21+
<img src="images/switch-or-delete.png" alt="Post commit view"/>
22+
23+
2. A dialog will appear asking `Switch branch to 'branch name'?`. Select `Switch`.
24+
<img src="images/switch-confirmation.png" alt="Post commit view"/>
25+
26+
The branch will be checked out.
27+
<img src="images/switched-branches.png" alt="Post commit view"/>
28+
29+
## Delete branches
30+
31+
1. Click on the branch name to be deleted and the `Delete` button becomes enabled.
32+
2. Right-click on a local branch and select `Delete` or click the `Delete` button above the Local branches list.
33+
<img src="images/switch-or-delete.png" alt="Post commit view"/>
34+
35+
3. A dialog appears asking `Are you sure you want to delete the branch: ‘branch name’?`. Select `Delete`.
36+
37+
The branch will be deleted.

0 commit comments

Comments
 (0)