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

Re: git update index question

From: Lars Hjemli <hidden>
Date: 2016-06-15 22:43:42

On 10/17/07, Gonzalo Garramuno [off-list ref] wrote:
what's the proper way to rebuild git's index file for all the files that
were to be committed but weren't due to the abort.
Have you tried 'git commit -a'? It will run update-index on all
modified files prior to executing the hook.

Btw: If you want to inspect your changes for offending whitespace,
'git diff --color' and  'git diff --cached --color' are your friends.
And if you give up, there is also 'git commit -a --no-verify'.

--
larsh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help