git-log Questions

4

Solved

How can I dump a log of my commits showing only the ones with notes of a given namespace? Commits without notes, or notes not belonging to a given namespace should be filtered out In the text dump ...
Weidner asked 29/10, 2012 at 8:29

39

I've seen some books and articles have some really pretty looking graphs of Git branches and commits. How can I make high-quality printable images of Git history?
Lepidopteran asked 29/6, 2009 at 10:12

1

Solved

I'm working in a code base with a merge-style workflow which uses Bitbucket, GitHub, or Gitlab for pull requests (PRs). I'd like to see the "right-parent" commits only, or something akin ...
Epicene asked 7/12, 2023 at 3:2

9

Following command outputs following lines of text on console git log --pretty=format:"%h;%ai;%s" --shortstat ed6e0ab;2014-01-07 16:32:39 +0530;Foo 3 files changed, 14 insertions(+), 13 deletions(...
Paralytic asked 15/1, 2014 at 12:28

2

I have been learning a lot about the git log lately and would like to write it to a file so I can process it and write a changelog/release notes from it. However, when I write the git log between t...
Purge asked 25/1, 2021 at 15:57

13

Here is my case: I was working on one branch. Pushed new commits to the remote. Switched back to the master branch. But suddenly after typing git checkout master command my computer encountere...
Competitive asked 8/10, 2015 at 10:15

13

Solved

I checked some source code into GIT with the commit message "Build 0051". However, I can't seem to find that source code any more - how do I extract this source from the GIT repository, using the ...
Escudo asked 19/8, 2011 at 16:57

2

Solved

Quick summary of my question I have this git lg output (get this alias in my "Details" section below): * 3333333 - merge of feature branch into `main` |\ | * ccccccc - feature branch com...
Soup asked 6/7, 2023 at 3:44

27

Solved

How do I view the history of an individual file with complete details of what has changed? git log -- [filename] shows me the commit history of a file, but how do I see the file content that change...
Sanskritic asked 10/11, 2008 at 15:42

27

Solved

How do I view the history of an individual file with complete details of what has changed? git log -- [filename] shows me the commit history of a file, but how do I see the file content that change...
Polyhydric asked 10/11, 2008 at 15:42

6

Solved

I am currently getting my commit message for a certain commit hash by using this below: hash='b55da97' git log --pretty=oneline ${hash} | grep "${hash}" | awk '{ print $2 }' These seems extremel...
Erickericka asked 5/11, 2013 at 20:33

1

Solved

I'm doing a git bisect, and I've found a few good and bad commits so far, which I can confirm by running git bisect log. However, if I run git log for my branch git log --graph --decorate=full orig...
Bestead asked 8/5, 2023 at 3:54

3

Solved

How do I have to extend the following logCommand, to get the --follow option of the git log command working? Git git = new Git(myRepository); Iterable<RevCommit> log = git.log().addPath("com...
Bosnia asked 13/7, 2012 at 13:50

3

Solved

Although I have added Co-authored-by: in the commit message, git log --name-only only shows one author, not the others, how can I make git show the coauthors?
Hydraulic asked 17/6, 2022 at 1:52

4

Solved

I am creating some scripts and programs that fetch commit information using git log --pretty=<my format> -1 <commit> I wonder if the output of this command is suitable to be parsed b...
Marceau asked 2/12, 2018 at 15:33

11

Solved

I'm on branch-X and have added a couple more commits on top of it. I want to see all the differences between MASTER and the branch that I am on in terms of commits. I could just do a git checkout...
Spit asked 20/12, 2012 at 4:36

5

Solved

Some Git commands take commit ranges and one valid syntax is to separate two commit names with two dots .., and another syntax uses three dots .... What are the differences between the two?
Pronunciamento asked 20/1, 2009 at 20:32

5

Solved

Some Git commands take commit ranges and one valid syntax is to separate two commit names with two dots .., and another syntax uses three dots .... What are the differences between the two?
Chirurgeon asked 20/1, 2009 at 20:32

4

Solved

I have been tinkering with git aliases for some log commands. I have most of what I'd like (credit here), but I'm having trouble with one piece. When I call… git log --graph --format=format:'%h - [...
Shankle asked 14/3, 2014 at 20:41

5

Solved

I've renamed a couple of files using git mv, used git stash, had a quick look at HEAD (without changing it) then did git stash pop to get the whole lot back again. My moves had disappeared from the...
Scrotum asked 8/12, 2010 at 23:50

6

Solved

I'm trying to output the log between two tagged commits. mbell@cheetah [12:07:22] [/var/www/html/brone] [dev] -> % git tag 6.x-0.1 6.x-1.0-beta1 6.x-1.0-beta2 6.x-1.0-beta3 6.x-1.0-beta4 6.x-1...
Pyotr asked 15/11, 2011 at 12:15

3

Solved

In a shared GitHub repository, I would like to use git log to show a list of recent commits. The current history is similar to the following: (master) B------Merge1--Merge2--Merge3 / / / - -C...
Harappa asked 18/10, 2013 at 4:6

2

Solved

I'm on a branch with some changes. Changing branch is a pain as some files are locked by processes, so to change branch I'd have to stop all the processes which have locks, then stash the cha...
Karyotype asked 12/7, 2015 at 13:46

10

Solved

I have a local branch tracking the remote/master branch. After running git-pull and git-log, the log will show all commits in the remote tracking branch as well as the current branch. However, beca...
Rau asked 10/1, 2011 at 17:4

2

Solved

I know that this type of questions is addressed in a lot of Q/A, I have studied them but actually I did not found a way to get the what I want. I am looking for the git logs between two hashes inc...
Backlash asked 21/3, 2017 at 20:27

© 2022 - 2024 — McMap. All rights reserved.