git-rev-list Questions

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

8

Solved

Is there a better way of getting a raw list of SHA1s for ALL objects in a repository than: ls .git/objects/??/\* and cat .git/objects/pack/*.idx | git show-index I know about git rev-list --all but...
Sundsvall asked 8/9, 2011 at 13:19

2

Solved

While looking for git hook examples, I came across following post: https://github.com/Movidone/git-hooks/blob/master/pre-receive and I wanted to understand the following command: git rev-list $new_...
Disannul asked 16/10, 2020 at 22:37

2

Given two (or more) commits, I want to find the oldest merge which joins them. Something like the opposite of git merge-base (which finds the youngest common ancestors). Notice that the commit I’m ...
Baldric asked 18/9, 2015 at 10:38

2

Solved

How does git-rev-list order the commits that it returns? I am mostly referring to commits that come in on a concurrent branch of development and then is merged into the main branch. It doesn't see...
Upanchor asked 5/11, 2012 at 0:38

2

Solved

It's possible to obtain the number of commits behind/ahead using git rev-list command. I am trying to achieve the same thing using libgit2sharp library but the library is not fully documented so I ...
Orchestrate asked 3/10, 2017 at 11:37

1

Solved

I have a list of commit hashes and I need to order them chronologically. I thought I could get git rev-list to do it, but it insists on showing me all the commits even if I specify a commit on th...
Hintz asked 10/11, 2016 at 16:53

2

Solved

The --abbrev-commit flag can be used in conjunction with git log and git rev-list in order to show partial prefixes instead of the full 40-character SHA-1 hashes of commit objects. According to the...
Plunder asked 4/9, 2015 at 20:14

1

How can I find all the commits that have a given commit as parent? For instance, if I have this Git commit graph, G H I J \ / \ / D E F \ | / \ \ | / | \|/ | B C \ / \ / A I'd l...
Womble asked 15/1, 2015 at 9:45

3

Solved

I'm using tags to identify release versions and to identify "development complete" commits for tasks. Doing a git tag I get a list like the following. > git tag v0.1.0 task_1768 task_2011 task_...
Dermatoglyphics asked 10/1, 2013 at 0:5

3

General problem: Given a set of commits, how do I find the list of commits that have all those commits as ancestors, or relatedly, the first commit(s) that contain all those commits. I can find br...
Barman asked 18/12, 2012 at 17:59
1

© 2022 - 2024 — McMap. All rights reserved.