Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: One-command mail import with X-Seq: and ChangeLog (was: Re: Access to CVS)
- X-seq: zsh-workers 31242
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: One-command mail import with X-Seq: and ChangeLog (was: Re: Access to CVS)
- Date: Mon, 8 Apr 2013 11:09:06 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=dy5OXzPs3076JyNaydGDy0iOqZ/PCMsqym127I8RScA=; b=N4jNixVXlmqVBXnbpegti787KPv8+0P0fQDRN2ERlDiwZRheEM+tbb+am+Ut6EIvcd oqQJtw0DYyu3wLwSG4TXDn+NFXQNixWYzA2dCjdsNdf8XYmUeNwAzWBoPWvoTet3qmTO YOAedE1Iwh1LUA8r18Ra/S9i3LRA3T2MjkPabalFeRQFQDXgh5quUR3SD2MjIzal68uV nbGNd18P0sYsTbejM4rT7SqaCxLcjSnr1k9RaKXEycpPMu0wh+q+6HIHuAboRO3z3kcU N3wuCjIiffiDXfMap2K1AjA7OrTTYd8pZpIuPkbl6pq4jnmUDHS73WUr1WR1UCV6rVVW UmFQ==
- In-reply-to: <130407120749.ZM543@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20121213145747.GB9597@ruderich.org> <87sj7ixgxo.fsf@ft.bewatermyfriend.org> <20130317145507.GA21498@ruderich.org> <20130404133802.GA29933@ruderich.org> <87bo9sc3ux.fsf@ft.bewatermyfriend.org> <130407120749.ZM543@torch.brasslantern.com>
On 7 April 2013 21:07, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> The one thing I'm finding missing from both places is a discussion of
> how to perform a simple one-file (well, two, counting ChangeLog) push
> directly from a clone of the master. Can I --amend a commit without
> having a branch, or must I wait even to commit until I've edited the
> ChangeLog?
After you clone, your master is already a branch, so you can do
whatever you want with it. origin/master is the one that's tracking
the state of the repository you cloned from (by default called
origin). "one-file push" is a bit strange, but yes, you can commit
stuff to your master branch, amend them, and then push. What you can't
do, is amend a commit that is already reachable from origin/master,
iow, only amend commits you haven't pushed yet.
git clone git://zsh/blabla zsh; cd zsh
# hack hack hack
git add myfiles; git commit -m 'informative message'
git push
Is the thing you're asking for? There is no need to create an extra
local branch for this.
> Or is creating a branch THE way, and I should ignore all
> the discussion of branching for "a feature" and just create a branch
> that's always there and use it repeatedly whenver I edit?
This is what your 'master' branch is for :).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author