<div dir="ltr">Hi All,<div><br></div><div> I find myself in this situation a lot:</div><div><br></div><div><div>Changes not staged for commit:</div><div> (use "git add <file>..." to update what will be committed)</div><div> (use "git checkout -- <file>..." to discard changes in working directory)</div><div><br></div><div> modified: platforms/Cross/plugins/IA32ABI/ia32abi.h</div><div> modified: platforms/Cross/plugins/IA32ABI/x64ia32abicc.c</div><div> modified: platforms/Cross/plugins/IA32ABI/xabicc.c</div><div><br></div><div>Untracked files:</div><div> (use "git add <file>..." to include in what will be committed)</div><div><br></div><div> platforms/Cross/plugins/IA32ABI/.ia32abicc.c.swp</div><div><br></div><div>What's the one liner to add the modified files and ignore the untracked files?</div><div>What's the one-liner to add and commit the modified files and ignore the untracked files?</div><div><br></div><div>[hate the word "add" being used to mean "stage". This thing was written by a sadist].</div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>