Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: 'git commit --short' without touching index?

From: <hidden>
Date: 2016-06-15 22:49:04

Thanks.  Your suggestion seems to work.  Much appreciated.

Daniel

On 2010.07.03 9:17 AM, Jeff King wrote:
However, both "status" and "commit --dry-run" will opportunistically
refresh the index. If you don't want to touch the index at all, you can
use a combination of:

  # show changes between HEAD and index
  git diff-index HEAD

  # show changes between index and working tree
  git diff-files

  # show untracked files
  git ls-files --exclude-standard -o
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help