[Vm-dev] git mavens, shortcut please?
Bernardo Ezequiel Contreras
vonbecmann at gmail.com
Sun Jun 19 00:24:30 UTC 2016
Eliot,
regarding how to ignore the untracked files, you could ignore those files
by adding them to .gitignore, and they won't bother you again.
here's the documentation
https://git-scm.com/docs/gitignore
On Sat, Jun 18, 2016 at 8:58 PM, Eliot Miranda <eliot.miranda at gmail.com>
wrote:
>
> 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
>
>
--
Bernardo E.C.
Sent from a cheap desktop computer in South America.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160618/68180dd6/attachment.htm
More information about the Vm-dev
mailing list