From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id D8A721F5AE for ; Thu, 6 May 2021 08:41:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233619AbhEFImS (ORCPT ); Thu, 6 May 2021 04:42:18 -0400 Received: from shell1.rawbw.com ([198.144.192.42]:45653 "EHLO shell1.rawbw.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231880AbhEFImR (ORCPT ); Thu, 6 May 2021 04:42:17 -0400 Received: from yv.noip.me (c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 1468fEYD045189 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 6 May 2021 01:41:14 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76] claimed to be yv.noip.me Subject: Re: [feature suggestion] Add 'git stash export', 'git stash import' commands to allow to backup stash externally To: Junio C Hamano Cc: Johannes Sixt , Git Mailing List References: <35877543-93b8-00f8-692e-09a06d4679aa@kdbg.org> From: Yuri Message-ID: Date: Thu, 6 May 2021 01:41:13 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On 5/6/21 1:38 AM, Junio C Hamano wrote: > Unlike centralized SCM like SVN and CVS, commits in Git are private > until you make them public by pushing, and you do not allow other > people to fetch/pull from the repository you actively work in. If > your commits become public immediately after you make them, perhaps > there is a room in your workflow for vast improvement. Let's say I make commit1, commit2, commit3 and then commit4. How can I push only commit1 and commit3, but not commit2 and commit4? Can I permanently hold some commits from being pushed while pushing others? Yuri