[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pytave - (probably mercurial) - - Question
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Pytave - (probably mercurial) - - Question |
Date: |
Sat, 04 Jun 2016 17:11:03 -0400 |
On Sat, 2016-06-04 at 10:32 -0700, Mike Miller wrote:
> Yes, hg has no concept of a "staging area" like git does. Just use
>
> hg commit file1 file2 ...
>
> This has actually bitten me several times, especially when amending
> a commit and I forget that I had local uncommitted changes.
`hg amend -i` or `hg ci -i` can help with these. If you set
`experimental.crecord = True` for hg 3.5-3.7 or `ui.interface=curses`
for hg 3.8 or later, you'll get a curses interface for splitting your
commits.
- Jordi G. H.