Questions tagged [blame]
Blame is the annotation of source code showing who last edited each section or line.
blame
129
questions
0
votes
0
answers
23
views
Git blame in 2 branches shows same commit as responsible for 2 different values
I used two git blame views in Gitlab to show the history of a file in two different branches.
For a specific line, the last change points to the same commit in both branches.
The thing is: the lines ...
1
vote
2
answers
174
views
Git blame command to view the latest tag for each line
I am searching for something like git blame but instead of showing the commit the line was last changed in, I am interested in what version this line was committed.
So instead of the revision ID, I ...
5
votes
2
answers
765
views
How to `git blame --ignore-revs-file` on a bare git repository
The command git blame --ignore-revs-file .git-blame-ignore-revs add.txt works on a non-bare repository locally on my machine but when I get the bare repository for the same repository locally and try ...
0
votes
2
answers
642
views
GIT Overwrite author of code lines (git blame)
I was trying to find the answer everywhere on the internet but was unsuccessful.
My problem is that, for some reason, on a new laptop, I put 'email' instead of 'name' and 'password' instead of 'email'....
10
votes
2
answers
3k
views
What does an asterisk mean in git blame for IntelliJ IDEA?
Can someone please tell what '*' means on git blame annotation in Intellij IDEA?
2
votes
1
answer
353
views
How does git create a file blame?
I recently learned about git blame and what it does. I want to know how git finds when each line was changed in a file, even across file renames. In other words, I want to know how the blame algorithm ...
1
vote
0
answers
504
views
git blame for a file which has been renamed many times
When I use git blame, a very time-spending situation is that the file has been renamed for many times, the blame will point me to the SHA of the recent rename commit. I then need to blame on the ...
1
vote
0
answers
179
views
How to run "git blame" on a given set of files using Octokit
I'm pretty new to the Ruby world and I'm working on a legacy ruby script that uses Octokit to which I need to add the support for running "git blame" command on a bunch of files to figure ...
1
vote
1
answer
318
views
JGit BlameCommand keeps returning null
For my current project I need to find out which users have last modified a range of lines in a given file. For this, and other tasks I have been using JGit and I wrote my code in Kotlin. So good so ...
11
votes
2
answers
8k
views
How to get cell edit history by Google App Script?
I have a Google Spreadsheet. When I click right mouse button on any cell I can choose Show edit history from context menu.
After that I can see edit history in popup window.
My question is how can I ...
0
votes
1
answer
627
views
In git merge/rebase how not to loose authors for git blame
Problem:
all changes from tasks/pbi appear to belong to the PR owner, so git blame shows our release manager owns like 80% on the code.
impossible to find who changed the code and why
TL;DR: We have ...
3
votes
0
answers
41
views
Git commit without a new author (keep old lines' authors) [duplicate]
I'm adding eslint/prettier to my repository for code formatting, styling, etc. The issue is that when people run git blame I will now be know as the author of tons of lines of code in our project.
I ...
3
votes
1
answer
4k
views
How do I to identify forced pushes in Git?
By looking into my team's commit log, I found lines of code changes from same patch appear twice in different commits.
Further prove is like this: Master branch has commit A in its change list(as ...
1
vote
1
answer
2k
views
How to get information on who deleted an s3 resource
I have a bucket that had some files in it. One of them is now gone. How can I get information about who deleted it or when it was deleted--can I get any information at all about this deleted item?
1
vote
2
answers
1k
views
How to get all commit hashes from a merge? Merged commits aligned by timestamp
I'm trying to get all the commit hashes that are coming in from a merge. My ultimate goal is to grab the emails of these commiters and email them if the merge breaks a build. However, I'm not sure how ...