trying to get only one result from selected commits returns the same output regardless of output order. TOTAL LIST LENGTH 130 COMMITS The result is ...
trying to get only one result from selected commits returns the same output regardless of output order. TOTAL LIST LENGTH 130 COMMITS The result is ...
I want to get the latest commit which contains a string. For e.g. I have tried git log --grep "TAG_2021_09_0051" which gives me below ouput as stri ...
I'm trying to undo my bad git practices from times past and in doing so, I want to get a list of commits to specific files, newer than a certain times ...
Consider the following scenario: I want to rebase the feature branch, so they appear as commits added after main, but not merge it yet. The problem ...
I am trying to identify large files in the history of my project that have been deleted. When I do this I can see an ordered list. Usually, I can r ...
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 under ...
Our dev process states that every developer should rebase his/her topic branch to master first and then merge it with the --no-ff flag, to create a me ...
git rev-list --pretty='%H %an <%ae> %at' origin/topic-branch ^origin/master outputs the following: The desired output should include only th ...
I'm trying to find all the commits that exist in one branch, but don't exist in another. Taking the image below, I want to know what's in B2 that isn' ...
I am trying to get the name of a file name that has the recent change. For example a folder has three files file1.txt, file2.txt and file3.txt. I am t ...
I'm trying to share our git repo with an offsite development team. We do not have a "master" branch. We have A/master, B/master, and C/master. I have ...
I'm using git rev-list --stdin from Windows command prompt. I'm entering -- followed by some paths, one on each line. How do I signal to Git that I' ...
Given a large git repository with hundreds of branches / thousands of commits, and an irregular branch merging strategy, how does one determine the sh ...
I have a repository with a master branch that has frequent merges from different defect branches, like in the picture below (defect1 is the name of th ...
Dear community members, I'm working on a code analysis system and would like to replace calls to CLI Git application with Dulwich module. As a second ...
I am trying to determine commits introduced to parent branch due to a merge using merge id. ...
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 librar ...
I am using git rev-list --all --format="%H%n%B" to retrieve all (reachable) commits of a git repository. I need to be able to parse the resulting out ...
I want to know the related commit-id with the 100 submit in branch dev. (for example: git rev-list --reverse --branches=dev --date-order --count <c ...
Is it possible to check if, a git tag/commit is reachable from another git tag/commit in a repo through remote git commands i.e without cloning the co ...