|
| 1 | +--- |
| 2 | +title: Using the activity view to see changes to a repository |
| 3 | +intro: 'You can use the activity view to see a detailed history of changes to your repository.' |
| 4 | +versions: |
| 5 | + feature: repository-activity-view |
| 6 | +topics: |
| 7 | + - Repositories |
| 8 | +shortTitle: Using the activity view |
| 9 | +--- |
| 10 | + |
| 11 | +## About the activity view |
| 12 | + |
| 13 | +The activity view lets you see a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and authenticated users. |
| 14 | + |
| 15 | +You can filter the view to show activity for a particular branch, a particular user, or for a specific period of time. You can also filter by activity type. For example, you can choose to filter by "Force pushes", to see all force pushes to the repository. |
| 16 | + |
| 17 | +For each activity, you can view the exact changes by clicking "Compare changes." |
| 18 | + |
| 19 | +## Using the activity view to see changes to a repository |
| 20 | +{% data reusables.repositories.navigate-to-repo %} |
| 21 | +1. There are two ways to enter the activity view: |
| 22 | + - On the main page of the repository, to the right of the list of files, click **{% octicon "pulse" aria-hidden="true" %} Activity**. |
| 23 | + |
| 24 | + - Alternatively, click **{% octicon "git-branch" aria-hidden="true" %} Branches**, then to the right of any branch, click **{% octicon "pulse" aria-label="View branch activity" %}**. |
| 25 | + |
| 26 | +  |
| 27 | + |
| 28 | +1. Use the dropdown menus to filter the activity view. |
| 29 | + - To see activity on a particular branch, select the **{% octicon "git-branch" aria-hidden="true" %} BRANCH NAME** dropdown menu, then click a branch name. Alternatively, within the dropdown menu, start typing a branch name into the search field. To view activity across all branches in the repository, click "View activity for all branches". |
| 30 | + |
| 31 | + - To filter by activity type, select the **{% octicon "pulse" aria-hidden="true" %} All activity** dropdown menu, then click an activity type. You can choose to display direct pushes, pull request merges, force pushes, branch creations, and branch deletions. |
| 32 | + |
| 33 | + - To filter by user, select the **{% octicon "people" aria-hidden="true" %} All users** dropdown menu, then click a username. Alternatively, within the dropdown menu, start typing a username into the search field. |
| 34 | + |
| 35 | + - To filter by time, select the **{% octicon "clock" aria-hidden="true" %} All time** dropdown menu, then click a time period. |
| 36 | + |
| 37 | +1. Optionally, to see some additional details about the activity, such as the incoming branch name from a pull request, hover over the embedded link. |
| 38 | + |
| 39 | +  |
| 40 | + |
| 41 | +1. To see exactly what changes were introduced by a particular activity, to the right of the activity, select {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %}, then click **{% octicon "git-compare" aria-hidden="true" %} Compare changes**. |
| 42 | + |
| 43 | +  |
0 commit comments