---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.2
alternate:
  - https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/get-history.md
  - https://sourcecraft.dev/portal/docs/ru/sourcecraft/operations/get-history.md
  - href: en/sourcecraft/operations/get-history.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
title: Viewing the revision history and update author in SourceCraft
description: In this guide, you will learn how to view the revision history and update author in SourceCraft.
---
> **Documentation Index:** Fetch the complete configuration index at https://sourcecraft.dev/portal/docs/en/llms.txt


# Viewing the revision history and update author

## Viewing the file or folder history {#file-history}

{% list tabs %}

- Repository

  1. Open the repository file structure:

      1. Open the SourceCraft [home page](https://sourcecraft.dev).
      1. On the ![image](../../_assets/console-icons/house.svg) **Home** tab, under ![image](../../_assets/console-icons/layout-tabs.svg) **Your craftspace**, navigate to ![image](../../_assets/console-icons/archive.svg) **Repositories**.

      <!-- source: en/_includes/sourcecraft/get-file-structure-repo.md -->
      1. Select a repository.
      1. Under ![image](../../_assets/console-icons/code.svg) **Code** on the repository page, go to ![image](../../_assets/console-icons/archive.svg) **Browse**.
      1. Select the branch to search in from the drop-down list ![image](../../_assets/console-icons/code-trunk.svg).
      1. Select a directory or file.
      1. To display the repository file structure, click ![image](../../_assets/console-icons/layout-side-content-left.svg) next to the drop-down list ![image](../../_assets/console-icons/code-trunk.svg).
      <!-- endsource: en/_includes/sourcecraft/get-file-structure-repo.md -->

  1. Above the file or folder contents, you will see the date, ID, and author of the last update.
  1. To view the file or folder revision history, click **History** ![image](../../_assets/console-icons/clock-arrow-rotate-left.svg).

- Pull request

  1. Open the pull request file structure:

      1. Open the SourceCraft [home page](https://sourcecraft.dev).
      1. On the ![image](../../_assets/console-icons/house.svg) **Home** tab, under ![image](../../_assets/console-icons/layout-tabs.svg) **Your craftspace**, navigate to ![image](../../_assets/console-icons/archive.svg) **Repositories**.

      <!-- source: en/_includes/sourcecraft/get-file-structure-pr.md -->
      1. Select a repository.
      1. Under ![image](../../_assets/console-icons/code.svg) **Code** on the repository page, go to ![image](../../_assets/console-icons/code-pull-request.svg) **Pull requests**.
      1. Select a pull request to search in.
      1. Navigate to the ![image](../../_assets/console-icons/file-code.svg) **Files changed** tab.
      1. To display the file structure, click ![image](../../_assets/console-icons/layout-side-content-left.svg) next to the drop-down lists for branch and iteration comparison.
      1. Click **Full tree**.
      <!-- endsource: en/_includes/sourcecraft/get-file-structure-pr.md -->

  1. Above the file or folder contents, you will see the date, ID, and author of the last update.
  1. To view the file or folder change history, click **History** ![image](../../_assets/console-icons/clock-arrow-rotate-left.svg).

{% endlist %}

## Viewing update authors by line {#authorship}

1. Select the file you want to view. Above the file contents, you will see the date, ID, and author of the last update.
1. To view the author of the last update and the commit for a particular line of code, enable **Blame** in the top-right corner.