git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Show current SHA1

From
Allan Kelly <allankelly@gmail.com>
Date
Jul 11, 2009, 09:39 UTC
Message-ID
<9586f3420907110239nbc35aealb473e1f1b3667410@mail.gmail.com>

Hi, hopefully a very simple newb question: "what is the command to report the current SHA1?" - explanation below.

I'm vc-ing my MSc thesis and associated code with git, it's working great for me. My supervisor requires regular submissions as editable Word docs so I publish my source HTML to him as RTF. He adds comments via Word & returns to me, I read in Open Office 3. This works, but there is often a week or more between him receiving the doc and returning it to me with comments.

I'd like to put the current SHA1 as text in the RTF so that I can generate a diff from my current version before responding to his comments.

The question then is: what is the command to report the current SHA1? Note I never branch in the HTML repo, it's entirely linear.

Many thanks, al.
Next: Teemu Likonen
Message 1 of 4 in “Show current SHA1”
  1. Allan KellyJul 11, 2009
  2. Teemu LikonenJul 11, 2009
  3. Charles BaileyJul 11, 2009
  4. Heinrich NirschlJul 11, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.