R
R
RokkerRuslan2015-02-14 01:18:08
Version control systems
RokkerRuslan, 2015-02-14 01:18:08

How to create a commit that will not be included in the repository?

I would like to have the following picture:
While programming, I make random changes to my local history. Maybe I'm bad at commenting. Not all of them are logical, but I need to separate them somehow:

commit -m 'something'
commit -m 'bullshit'
...

When it's time to push the changes to the master repository. I don't need all the previous commits. (let's say there are two dozen of them) You need to "undo" them and create two or three commits, each of which makes some significant change. Everything is strict and in order.
I use mercurial. For her, I would like to see the mechanism for implementing the behavior described above.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2015-02-14
@opium

in the git it is possible to hide commits through git stash, I think it’s not difficult to find an analogue in mercurial for this word

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question