Zsh Mailing List Archive
Messages sorted by:
Re: Access to CVS
- X-seq: zsh-workers 30888
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: Access to CVS
- Date: Fri, 14 Dec 2012 14:29:45 -0500
- Cc: Zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201210; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=zCDLhFp+A1q8Eo41jb9T3z0NEWeIgR2cvjGdouzyigE=; b=t7CJRn3cSXwViL+uyG4R8fWncpq0wNMgPua8lPyrwdQTAK8MJ2Na7ShOfwmb8iRbyQLxvYWdv8yX2CfAtOtzcTBy73+S9OhltHEc6RgS7AjvjOqoqBNO9WnO6tEOIDxWK8Dc6Uh0xnCi52UUgMK44GFVR/CzD0rd5dkbHuHFvcw=;
- In-reply-to: <email@example.com>
- List-help: <mailto:firstname.lastname@example.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:email@example.com>
- Mail-followup-to: Peter Stephenson <p.stephenson@xxxxxxxxxxx>, Zsh workers <zsh-workers@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <firstname.lastname@example.org> <email@example.com>
On 2012-12-14 at 15:09 +0000, Peter Stephenson wrote:
> I'm still hoping for a simple, straightforward list of the basic
> commands you'd need to use *not* involving the manifold ramifications of
> branches here, there and everywhere. Presumably this isn't more than
> half a dozen commands or so.
% $VISUAL file1.c file2.c new-file3.c
% git add new-file3.c
% git commit -a
% git push
"git commit -a" automatically finds files which are tracked and have
been modified, but doesn't pick up files newly tracked. "git add"
starts tracking a file.
"git commit -a -i new-file3.c" should also add the file.
If you want to be more selective, then for each file changed, "git add"
it to stage it in the index for the next commit, then just "git commit"
which will only commit the manually-staged files.
"git push" assumes that you're on the master branch and the repository
was created by cloning it from some place, with default options.
Try to get the most recent version of git you can, they're in the middle
of switching "git push" semantics to be saner/safer/cleaner by default
("only push the current branch, and only if this branch exists on the
remote server") and you probably want this new default. Git 1.8+
Everything else is about building on that. It's just that with an
existing repository and code-base where complexity is already an issue,
you're in the unfortunate position of trying to avoid making the
repository complicated and so folks are suggesting ways to minimise the
history complexity of the repository, and so your learning curve is even
steeper. I faced the same problems when Exim switched. :-/
Messages sorted by: