Questions tagged [git-log]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

cd into directory with git lfs files takes very long

I have a (data) repository with ~50GB of data, split into <10 subdirs with files of 100 to 1000MB each. The repository is saved on a SSD, the workstation has 16 CPU Cores and 64GB of RAM. All ...
2
votes
3answers
67 views

Echoing from a variable in a specific part of a string

I am trying to make a command for having a nice-looking git log. Say I have the following: git log --color --pretty=format:"%C(cyan)<%an>" --abbrev-commit What I would like to do is to make a ...
1
vote
1answer
46 views

Getting differences of file between specific revisions/branches

I have 2 different branches A,B that have a (slightly different) version of a file X. I am interested in getting the commits that added some specific patterns in branch B. What I do roughly: diff ...
1
vote
3answers
109 views

How to find which author and committer has done more commits to a project using git log?

I have been browsing Git Basics - Viewing the Commit History as well as Git Tools - Searching and while most of the ways seem straight-forward I have been trying to figure out if there was a way to ...
0
votes
0answers
92 views

Replace all contiguous newline chars to a single comma

I have this git log command: const command = [ `git log ${branch} -${count} --grep="${grep}"`, ` --pretty=format:'{"subject":"%s","body":"%b","commit":"%h","sanitized_subject_line":"%f",`, ...