Skip to content

Commit 1ec974a

Browse files
committed
Note on deleting branches
1 parent ed13f45 commit 1ec974a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

_episodes/08_lesson7_github_workflows.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ The pull request page allows for comments, discussion, and lets the maintainer u
9393

9494
This will be demonstrated in the session.
9595

96+
After we have merged the pull request, we can delete the feature branch and, if the remote branch has been deleted from GitHub, our local reference to that:
97+
98+
``` sh
99+
git branch -d feature
100+
git fetch --prune
101+
```
102+
96103
#### Exercise: Pull Requests
97104

98105
In pairs or small groups, practice making forks and Pull Requests on each-others' repositories.

0 commit comments

Comments
 (0)