Git/hacks: Difference between revisions
adds simple pointer on removing contents from previous commit |
adds trace setting |
||
Line 1: | Line 1: | ||
Add <code>GIT_TRACE=1</code> to your command to see more of what's going on. (Note that there are no spaces and no semicolon.) | |||
<source lang="bash"> | |||
GIT_TRACE=1 git status | |||
</source> | |||
See all the changes in color, but without any context lines, and without the leading +/-/<nowiki>[space]</nowiki> | See all the changes in color, but without any context lines, and without the leading +/-/<nowiki>[space]</nowiki> | ||
This makes it easy to grab changes and stuff them in another file for example. | This makes it easy to grab changes and stuff them in another file for example. |