From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Couder Subject: [PATCH v5 3/7] Documentation: replace: add --graft option Date: Sat, 28 Jun 2014 20:11:12 +0200 Message-ID: <20140628181117.5687.92350.chriscool@tuxfamily.org> References: <20140628171731.5687.30308.chriscool@tuxfamily.org> Cc: git@vger.kernel.org, Jeff King , Michael Haggerty , Jakub Narebski , Eric Sunshine To: Junio C Hamano X-From: git-owner@vger.kernel.org Sat Jun 28 20:20:16 2014 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X0xEV-0007lL-WC for gcvg-git-2@plane.gmane.org; Sat, 28 Jun 2014 20:20:16 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756784AbaF1STt (ORCPT ); Sat, 28 Jun 2014 14:19:49 -0400 Received: from mail-3y.bbox.fr ([194.158.98.45]:36033 "EHLO mail-3y.bbox.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756196AbaF1STr (ORCPT ); Sat, 28 Jun 2014 14:19:47 -0400 Received: from [127.0.1.1] (cha92-h01-128-78-31-246.dsl.sta.abo.bbox.fr [128.78.31.246]) by mail-3y.bbox.fr (Postfix) with ESMTP id 223D1116; Sat, 28 Jun 2014 20:19:46 +0200 (CEST) X-git-sha1: 750590d8c058bef6c9c7410315aa8af2ae035b7b X-Mailer: git-mail-commits v0.5.2 In-Reply-To: <20140628171731.5687.30308.chriscool@tuxfamily.org> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- Documentation/git-replace.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/git-replace.txt b/Documentation/git-replace.txt index 61461b9..491875e 100644 --- a/Documentation/git-replace.txt +++ b/Documentation/git-replace.txt @@ -10,6 +10,7 @@ SYNOPSIS [verse] 'git replace' [-f] 'git replace' [-f] --edit +'git replace' [-f] --graft [...] 'git replace' -d ... 'git replace' [--format=] [-l []] @@ -73,6 +74,13 @@ OPTIONS newly created object. See linkgit:git-var[1] for details about how the editor will be chosen. +--graft [...]:: + Create a graft commit. A new commit is created with the same + content as except that its parents will be + [...] instead of 's parents. A replacement ref + is then created to replace with the newly created + commit. + -l :: --list :: List replace refs for objects that match the given pattern (or -- 2.0.0.421.g786a89d.dirty