Questions tagged [git-log]

Shows the commit logs of a Git repo

git log shows the commit logs in Git repository.

You can view the commit history of a specific file with the following:

git log <filename>

git log provides a large number of options to filter and format the resulting output, see the documentation for full details.

Reference

$ git log --help
920 questions
-2
votes
2 answers

How can I track down a user that deleted all my branches in git

We are using Git and Stash at my firm and it looks like someone deleted all the branches but master. Can someone please tell me how to track down which users did it? Also, how to restore the data (if it can be restored)?
JMS
  • 183
  • 2
  • 9
-3
votes
2 answers

How to update the display of remote hash in git log?

If I type git log, I get a list of hashes with associated info (date, committer, log message..). If I'm on the main branch, and so are all my remotes, then if a remote currently has main at a given hash, then next to the hash it displays the remote…
dfrankow
  • 20,191
  • 41
  • 152
  • 214
-3
votes
1 answer

how to split the repository history one line for each commit?

I'm trying to have the history of a repository, but the result is returned to me on a single line of text. The command I'm using: cmd = f'git log --all --grep="fixed bug"' The result I would like to have: commit…
Mario
  • 1
  • 1
-3
votes
1 answer

GIT list all commits by repro

Is there a command to list all commits for each repro in my "team"? was hoping there was a RSS feed that could be consumed but that doesn't look like the case. Worst case I can setup a service user and run git log on each and every repro but that…
Tony
  • 8,681
  • 7
  • 36
  • 55
-5
votes
1 answer

what are the commands that will create this git graph

hello guys I am new to git and I am working on a project where I need to respect this graph I just want to know what can I do to get this git graph what are the commands and with explanation please All I know that every vertex is a commit all the…
ZoCode
  • 51
  • 7
1 2 3
61
62