[Vm-dev] git mavens, shortcut please?

Eliot Miranda eliot.miranda at gmail.com
Sat Jun 18 23:58:50 UTC 2016


Hi All,

    I find myself in this situation a lot:

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   platforms/Cross/plugins/IA32ABI/ia32abi.h
        modified:   platforms/Cross/plugins/IA32ABI/x64ia32abicc.c
        modified:   platforms/Cross/plugins/IA32ABI/xabicc.c

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        platforms/Cross/plugins/IA32ABI/.ia32abicc.c.swp

What's the one liner to add the modified files and ignore the untracked
files?
What's the one-liner to add and commit the modified files and ignore the
untracked files?

[hate the word "add" being used to mean "stage".  This thing was written by
a sadist].
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160618/1b47fc45/attachment-0001.htm


More information about the Vm-dev mailing list