git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature request: git commit -A
@ 2014-06-24 19:01 Aidan Feldman
  2014-06-24 23:34 ` David Turner
  0 siblings, 1 reply; 2+ messages in thread
From: Aidan Feldman @ 2014-06-24 19:01 UTC (permalink / raw)
  To: git

Hi all-
I work on the education team at GitHub and do a fair number of Git
workshops.  One thing that I've always found difficult to explain to
newbies is how the staging area works, and why it's useful.  As a
hand-wave to simplify things, I usually have them use

git add -A
git commit -m "..."

to not really have to worry about untracked vs. modified/removed files
aren't included with `git commit -a` or `git add .`.  I would like to
add a `-A` flag to the `commit` command, which effectively does a `git
add -A` before committing.

I was trying to submit a patch myself, but couldn't even manage to
find where the various flags are defined :-)  Does the feature sound
reasonable?  Mind pointing me in the right direction of where this
would be added?

Thanks!
-Aidan Feldman

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-24 23:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-24 19:01 Feature request: git commit -A Aidan Feldman
2014-06-24 23:34 ` David Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).