Re: [feature suggestion] Add 'git stash export', 'git stash import' commands to allow to backup stash externally
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 6, 2021, 08:38 UTC
- Message-ID
- <xmqqbl9oz27g.fsf@gitster.g>
- In-Reply-To
- <d4ae27b9-3911-506c-a23c-3ed91bb250d1@rawbw.com>
Yuri <yuri@rawbw.com> writes:
Show 8 quoted lines
> On 5/5/21 11:43 PM, Johannes Sixt wrote: >> I know. But, as I said, when you turn away from your current work, which >> is precious, then you should make a commit, in particular, when you can >> forsee that you might not be able to come back soon. > > > How can I commit unfinished work? Commits are public, this would break > things.
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.