[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: skyline vs. y-aligned-side

From: Joe Neeman
Subject: Re: skyline vs. y-aligned-side
Date: Sat, 27 Jan 2007 14:35:52 +0200

On 1/27/07, Johannes Schindelin <address@hidden> wrote:

Sorry, I missed that question.

The easiest solution is:

       git commit --amend

This command allows you to edit the command message. If you forgot a file,
you can add it with:

       git commit --amend <file>

NOTE NOTE NOTE! You must not do this when you pushed out that commit
(before amending it) to the public git repository. It disrupts the commit
history, i.e. you can no longer fast-forward the public branch to the new
tip. Consequently, git-fetch and git-pull would fail for tracking parties.

BTW I'd be interested to know how you could commit without a message,
since git-commit does not allow that... How did you do it?
Thanks, I'll try that. I managed to do it because I still use cogito for committing (although I've switched to git for almost everything else)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]