Questions tagged [git-show]

Shows one or more objects (blobs, trees, tags and commits).

  • For commits it shows the log message and textual diff. It also presents the merge commit in a special format as produced by git diff-tree --cc.

  • For tags, it shows the tag message and the referenced objects.

  • For trees, it shows the names (equivalent to git ls-tree with --name-only).

  • For plain blobs, it shows the plain contents.

The command takes options applicable to the git diff-tree command to control how the changes the commit introduces are shown.

See the man page for more info.

78 questions
-1
votes
1 answer

Git returns "forbidden" when trying to view origin URL

I am trying to pull some code into a server that I haven't touched in a while However, when I tried pulling, I got forbidden. So I'm curious if the server project has the wrong git address. But when I try just looking at the Git address via git…
CodyBugstein
  • 21,984
  • 61
  • 207
  • 363
-1
votes
2 answers

Search specific git commit by commit message and exlude branches

I am currently working on a program to filter slow db queries that are stored in a database on the command line. I would like to search all the commits in all the branches except the one specified and return all the commits that match. My filter…
Fish-Guts
  • 334
  • 3
  • 15
-3
votes
1 answer

How to tell "git show" not to show any diffs?

How do I do a git show and show the default git show output, but without showing any diffs? e.g., $ git…
Rob Bednark
  • 25,981
  • 23
  • 80
  • 125
1 2 3 4 5
6