git-log Questions

1

Solved

I found an example on how to delete a commit but it includes git log in the following format Number Hash Commit Message Author 1 2c6a45b (HEAD) Adding public method to access protected method Tom ...
Exactly asked 1/8, 2018 at 9:13

3

Solved

Context: assume you have some rather tricky CI/CD workflow which relies on git tags the feature branches are built and generate some short-lived tags to signify commits which yield the deployable...
Turgot asked 31/7, 2018 at 13:45

3

Solved

I need some help. It is possible to only show one commit id? Since git log -3 show the log from 1 - 3, I just want to show only 3. What possible command will match for it? I use the command git log...
Patriapatriarch asked 16/7, 2015 at 7:56

2

Solved

I just used the Git Gui to clone a local repo from GitHub, and then I checked out a certain branch. I now want to see the equivalent of doing a git log -50, but can't seem to find anything in the m...
Mordecai asked 10/9, 2014 at 13:7

2

Solved

In a Udacity lesson covering relative commit references, it says: ^ indicates the parent commit, ~ indicates the first parent commit The main difference between the ^ and the ~ is when a comm...
Apteral asked 20/5, 2018 at 19:24

2

Solved

I'm learning about relative commit references and trying to understand the following git log --oneline --graph output provided in a lesson. In the lesson it says that given HEAD points to the 9e...
Eyla asked 20/5, 2018 at 0:39

5

Solved

I'm trying to use tags for release management in Git—I create a tag for each release. I'd like to be able to create release notes by listing the comment titles for every commit since a tag, or betw...
Disconcert asked 31/5, 2010 at 5:46

4

Solved

Whenever I view a git log --all --graph --oneline --decorate output in my terminal emulator, the first commit is viewed at the top of the terminal screen. When I quit the git log output view with q...
Appear asked 2/3, 2016 at 9:36

1

Solved

Lets use the latest available git 2.16.2 and tig 2.3.3. cd /tmp && mkdir fit && cd fit git init touch m1 && git add m1 && git commit -m "master 1" touch m2 &&a...
Gidgetgie asked 15/3, 2018 at 22:17

2

Solved

I recently started to use zsh (oh-my-zsh, without customizations) on iTerm2. But, I'm having a trouble in git log or git show. Previously, for example, the git log results were just a part of the ...
Unalienable asked 8/11, 2015 at 8:18

0

I want to show only my commits in gitk. I try to use the command gitk --author="Eugeniy Maksimov" <path> gitk shows not only my commits, but also theirs parents. Why? How to avoid this?
Huppert asked 11/3, 2018 at 12:3

3

When running git log --graph on my copy of the Linux kernel, I'm seeing an underscore in the graph that doesn't look like it should be there. What does that underscore mean? The specific command...
Oleum asked 6/3, 2013 at 14:30

5

Solved

Several times, I have come across the statement that, if you move a single function from one file to another file, Git can track it. For example, this entry says, "Linus says that if you move a fun...
Febrifugal asked 5/2, 2011 at 17:25

1

Solved

I'm using git log in order to generate a diff between two branches. The exact command I'm using is: git log --left-right --graph --cherry-pick --oneline sourceBranch...targetBranch What I'm wond...
Capstone asked 2/11, 2017 at 17:47

1

Solved

Setup git version 2.11.0.windows.1 Here is a bash snippet to reproduce my test repository: git init # Create a file echo Hello > a.txt git add a.txt git commit -m 'First commit' # Change i...
Tuberculate asked 29/9, 2017 at 11:2

3

Solved

If you search for %b and %B in the documentation, there is no explanation of the difference between them apart from the cryptic "(unwrapped subject and body)". Here is an example commit from a rep...
Generalization asked 12/7, 2017 at 17:19

2

Solved

I want to view git commits when my branch is ahead of origin branch. i tried git log it returns all commits. but, i want to view only ahead commits from branch to origin/branch here what i mean, ...
Crim asked 30/6, 2017 at 13:11

1

Solved

I've worked myself into a situation that is not making sense to me. I'll try to describe it as best I can. I have a development branch and I've merged master into it via git checkout develpment &a...
Slipshod asked 11/5, 2017 at 23:20

3

Solved

I have a Git alias that expands to: git log --graph --oneline --all --decorate According to man git log there are a couple of suspicious options: --not and --branches; but I can't make it work p...
Brocade asked 24/2, 2012 at 19:56

3

Solved

I have a deleted line in a file in my Git repository. I knew some of the missing text, and the file that it was in, so I used git log -S'missingtext' /path/to/file. However, the only thing that cam...
Hobo asked 25/9, 2012 at 21:22

1

Solved

I am trying to revert a merge, but I don't know whether to use git revert -m 1 <merge commit's sha> or git revert -m 2 <merge commit's sha>. How do I find out which parent is -m 1 and w...
Putrid asked 13/4, 2017 at 14:52

1

Solved

Facing some wired issue while working with Jenkins, #!/bin/sh set -x #initialize environment export PATH="$HOME/.gem/ruby/2.0.0/bin:$PATH" export PATH="$HOME/.fastlane/bin:$PATH" export LC_CTYPE...
Whitener asked 27/3, 2017 at 8:41

2

Solved

I would like to obtain the last 10 commits using git log specifying the path of my repository. I used the option -path but I have "is outside repository" error git log --no-merges -10 -p...
Puzzle asked 2/7, 2015 at 7:55

2

Solved

I'm trying to get only the first 40 characters of a git log, my current not working command is: git log <branch_name> | cut -c 1-40 >> some_file This outputs the whole log. Kinda ne...
Hear asked 1/2, 2017 at 9:3

3

Solved

Is there some shortcut to specify the interval of fetched, new commits from remote tracking branch? Instead of typing this long command that is also branch specific: git log branchName..origin/bra...
Vesiculate asked 18/7, 2016 at 10:16

© 2022 - 2024 — McMap. All rights reserved.