> ## Content Index
> Fetch the complete content index at: https://developerinsider.co/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to do Git Blame in Xcode?
- URL: https://developerinsider.co/how-to-do-git-blame-in-xcode/
- Published: 2020-05-31T04:56:50.000Z
- Updated: 2023-09-11T05:12:07.000Z
- Author: Vineet Choudhary
- Tags: Tips, Xcode, iOS, git

If you work with a team, do you ever need to know who added this horrible bug? There are two ways to do Git Blame in Xcode.

## 1\. Check the last change for a specific line

To check the last change for a specific line, place the cursor on the offending line, right-click to open the contextual menu, and Click on **Show Last Change For Line**.

![](https://cdn.developerinsider.co/images/xcode/git-blame/xcode-git-blame-specific-line.webp)

You'll see the commit information for that specific line like this:

![](https://cdn.developerinsider.co/images/xcode/git-blame/xcode-git-blame-spcific-line-show.webp)

## 2\. Show change author information in the editor

You can also see the change/commit author information in the editor. To enable this, click on the "Adjust Editor Options" button in the top-right corner and select "Author".

![](https://cdn.developerinsider.co/images/xcode/git-blame/xcode-git-blame.webp)

You'll see the commits authors' information for open file like this:

![](https://cdn.developerinsider.co/images/xcode/git-blame/xcode-git-blame-show.webp)