From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: Amending commits Date: Tue, 27 Sep 2022 16:15:23 +0000 Message-ID: <94a8e877a7c3a45d8536@heytings.org> References: <87h70vbw2f.fsf@gnus.org> <877d1ru3rd.fsf@posteo.net> <87czbjbs4r.fsf@gnus.org> <834jwvmu84.fsf@gnu.org> <87mtama031.fsf@gnus.org> <83bkr2l61a.fsf@gnu.org> <87k05q73c7.fsf@gnus.org> <83a66mku8o.fsf@gnu.org> <878rm559qj.fsf@gnus.org> <87o7v0zv6t.fsf@melete.silentflame.com> <87bkr03jxh.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35655"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Sean Whitton , Eli Zaretskii , philipk@posteo.net, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 27 19:00:33 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1odDwd-000910-52 for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Sep 2022 19:00:31 +0200 Original-Received: from localhost ([::1]:52146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odDwc-0004GJ-0y for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Sep 2022 13:00:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odDF2-00068B-5r for emacs-devel@gnu.org; Tue, 27 Sep 2022 12:15:28 -0400 Original-Received: from heytings.org ([95.142.160.155]:59008) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odDF0-0004OA-9t; Tue, 27 Sep 2022 12:15:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1664295324; bh=aJ7l1hEX7OEK3xzwlga1YmXsTmkCaM6CLD5X/I3toQc=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=k+5BQ2NDsWBEBz5XRTeoD+1nPymk3J+Atj0u5jp22CkDoI9S1Hpt2RL9tI4Wu0+/k 0awykJQGVXXLZ1v+6KXerJUfL2eJFizPLV401jVqsxOADHH1VXW2HGZNEI8N4cMsWW Y4IKsUz3Ia/mkcVt0liDMYZXZ3ulj93dTCa/985HcnEqBwpyYvoQIWqZvmVwsAbyoZ NKWGzZdcaQL2zSOUZeqxX/rR/k+1EtkhHWvK9HX3lJ/iuN5FhfTqlybZ2WI0XJEPOz bAgbllNDG5/ojvMyR+XmcRNB6KjpM7sTFI5sZRViRNvPQwt1cmFcsN6UFiEEQU9oh2 NnZb5zBBvbkCg== In-Reply-To: <87bkr03jxh.fsf@gnus.org> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296353 Archived-At: > > The limitation in Git, of course, is that you can only modify the last > commit > With git commit --amend you can only modify the last commit, indeed, but you can change earlier commits with git rebase --interactive: https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#_changing_multiple