git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Randall S. Becker" <rsbecker@nexbridge.com>
To: "'Sascha Manns'" <Sascha.Manns@mailbox.org>, <git@vger.kernel.org>
Subject: RE: Auto adding changed files
Date: Mon, 9 Oct 2017 15:39:43 -0400	[thread overview]
Message-ID: <000201d34136$5e9f1640$1bdd42c0$@nexbridge.com> (raw)
In-Reply-To: <1507577714.2359.27.camel@mailbox.org>

-----Original Message-----
On October 9, 2017 3:35 PM Sascha Manns wrote:
>if i'm in a git repo and change a file, it is listed in git status. But i have to add this file manually and commit them.

$ git commit -a

From the git commit help:  by using the -a switch with the commit command to automatically
"add" changes from all known files (i.e. all files that are already
listed in the index) and to automatically "rm" files in the index
that have been removed from the working tree, and then perform the
actual commit;

Cheers,
Randall

-- Brief whoami: NonStop&UNIX developer since approximately UNIX(421664400)/NonStop(211288444200000000) 
-- In my real life, I talk too much.




  reply	other threads:[~2017-10-09 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-09 19:35 Auto adding changed files Sascha Manns
2017-10-09 19:39 ` Randall S. Becker [this message]
2017-10-09 19:47   ` Sascha Manns

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000201d34136$5e9f1640$1bdd42c0$@nexbridge.com' \
    --to=rsbecker@nexbridge.com \
    --cc=Sascha.Manns@mailbox.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).