<div dir="ltr">Eliot,<div> regarding how to ignore the untracked files, you could ignore those files by adding them to .gitignore, and they won't bother you again.</div><div><br></div><div>here's the documentation</div><div><a href="https://git-scm.com/docs/gitignore">https://git-scm.com/docs/gitignore</a><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 18, 2016 at 8:58 PM, Eliot Miranda <span dir="ltr"><<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br><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 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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Bernardo E.C.<div><br><div>Sent from a cheap desktop computer in South America.</div></div></div></div>
</div>