git-log Questions

1

Solved

I am trying to show commits (excluding merge commits) which were added to the master branch in the last 24 hours. Currently i am using this command for that: git log --format=format:%s --no-merges...
Aland asked 16/10, 2015 at 7:42

3

Solved

I used almost all git log commands yet i haven't found a best way to do this. I need only this - get only file name with path nothing else /path/filename.txt /path/anotherfile.ext ... ... My inp...
Redaredact asked 12/10, 2015 at 12:10

2

Solved

I would like to have an git log (or in any other way) output like this, 2015-01-14 10:33:14 main.cpp 2014-10-30 11:30:22 some.cpp 2014-10-27 10:15:43 another.cpp 2014-10-27 09:41:22 main.cpp 2014...
Phyllida asked 1/10, 2015 at 17:49

2

Solved

When I run git lg on my local development branch, the latest commit is shown as below: * 7d21213 - (1 hours ago) update business rules - developer1 (HEAD, origin/develop, origin/HEAD, develop) H...
Disarming asked 24/9, 2014 at 16:6

2

If I have a specific string how can I use e.g git log to find the email of the committer from the command line? I don't want to see the commit. I only want the "one-liner" command to give me only t...
Collie asked 23/8, 2015 at 16:30

1

Solved

Given the history X-Y <- feature / A-B-C-D-E <- master I want to get the descendants of a given commit. One solution seems to be: git log --all --ancestry-path <ref>^! However, ...
Roxannroxanna asked 7/7, 2015 at 9:43

1

Solved

With this command: git log --all -n30 --graph --abbrev-commit --decorate \ --date=relative --format=format:'%h - (%ar) %s - %an%d' I will get a wonderful tree which is exactly what I am lookin...
Jeremiahjeremias asked 11/5, 2015 at 12:56

1

Solved

I would like to git log --follow file.ext but showing all commits, including merges. Tried no-max-parents, but not helping.
Suitcase asked 25/5, 2015 at 18:14

1

Solved

Task number = JIRA issue number = **** (E.g.: 7600) Let's suppose that I have a list of commits having the following messages: PRJ-7600 - first message PRJ-8283 - second message PRJ-8283 - third ...
Igal asked 12/5, 2015 at 8:45

3

I probably end up re-inventing parts of the github REST API for my own repo server. But maybe there is some server script to do that already out there? Or maybe you have other suggestions? This is...
Bergstrom asked 2/7, 2012 at 21:12

8

Solved

I want to use git log to show all commits that do not match a given pattern. I know I can use the following to show all commits that do match a pattern: git log --grep=<pattern> How do I i...
Justiceship asked 9/4, 2011 at 1:5

1

Solved

I am trying to see the commits in the history of a repository but just for files with an specific extension. If this is the directory structure: $ tree . ├── a.txt ├── b └── subdir ├── c.txt └─...
Pretended asked 16/4, 2015 at 4:9

2

Solved

I know that, in Git parlance, "detached HEAD" corresponds to a state in which the symbolic reference HEAD is not pointing to any branch. I also know that git branch, for instance, will te...
Cleocleobulus asked 19/8, 2014 at 20:39

3

Solved

When using git log, I can supply --since=<date> to limit the log to commits newer than a certain date. With git branch -r, I get all the remote branches. How would I get the list of branche...
Loudish asked 30/1, 2015 at 14:27

1

Solved

It is possible to get a git shortlog result with the date/time of the commit? Otherwise is it possible to get git log to group commits and sum them by author and print out only the message and ti...
Benzol asked 31/1, 2015 at 15:2

2

Solved

In Gitk I can see a team member's commit (X) that has two parents: the first parent is his own previous commit (A), the other parent contains lots of other people commits (1 through 5). After his m...
Leviathan asked 22/1, 2015 at 0:43

1

Solved

This is a follow-up to Ignore files in git log -p and is also related to Making 'git log' ignore changes for certain paths. I'm using Git 1.9.2. I'm trying to use the pathspec magic :(excl...
Marillin asked 18/8, 2014 at 11:56

4

Solved

How can i get a list of all the git commits done to the master branch between 2014-01-01 and 2014-06-30? I know git log will give me roughly this format (repeated for all commits): commit <has...
Uppish asked 5/12, 2014 at 10:3

1

Solved

When stashing some changes, Git creates two separate commits, 'WIP on branch' and 'index on branch': $ git log --graph --all * commit 98aac13303ca086580c1ec9ccba5fe26c2a8ef3c |\ Merge: 7d99786 82...
Ovi asked 19/11, 2014 at 9:12

1

Solved

Running git log --first-parent -p shows me the commits I am interested in but I want to see the patch for the merge commits as well as non-merge commits (-p only shows the patch for non-merge commi...
Regional asked 10/9, 2014 at 22:40

2

I want to find commits that introduced added a "TODO" or "FIXME" comment and order them by date. I know that git log -G'TODO|FIXME' will show me commits that contain either comment and I could do ...
Malvinamalvino asked 9/9, 2014 at 16:19

1

Solved

How are the commands git log -p, git show, and git diff related and why would one be used over another? Given a repo with the following 4 commits: commitd - last commit commitc commitb coom...
Stillwell asked 1/9, 2014 at 15:13

1

Solved

I regularly use the following git-log command: git log --oneline --graph --decorate --all The command is perfect for me, with one exception. I maintain a set of refs in refs/arch/ that I want to k...
Michelinamicheline asked 30/8, 2014 at 17:17

1

Solved

I'm trying to summarize my work on a project. The problem is that I do not want to include test files in the output of git log --patch. The files are in a single directory called mtest; however, t...
Anasarca asked 16/8, 2014 at 11:43

5

Solved

I was checking the X commits using the following command: git log --author=<my-name> -<X> But the problem is that I accidentally pulled code from another repository and added t...
Thicken asked 4/1, 2013 at 9:35

© 2022 - 2024 — McMap. All rights reserved.