Thread (15 messages) flat view 15 messages, 7 authors, 2016-06-15

Re: question concerning branches

From: Avery Pennarun <hidden>
Date: 2016-06-15 22:47:17

On Wed, Aug 19, 2009 at 7:45 PM, Ingo Brueckl[off-list ref] wrote:
Jakub Narebski [off-list ref] writes:
quoted
You finish old work (or stash it away), _then_ you begin new work.
Ok, this helps me a little bit to understand.

The branches aren't designed to split my work, but rather something to
collect the different parts of my work.

But as software development often is something where you are coding on
several issues at the same time which can't be committed immediately, it
sounds that 'stash' is the developer's best friend.
Or you could just 'commit' more frequently, but don't 'push' so you're
not disturbing anyone else until you're done.

This is a big difference from how centralized VCSs work: there, a
commit is a major operation that you're afraid to do in case you make
someone else mad.  In git, commits are cheap, you just need to be
careful about pushing.

(You can also clean up your series of commits before pushing by using
'git rebase')

Have fun,

Avery
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help