Hi,
> There is one small downside: developing
> everything in branches leads to a lot of unnecessary/old/dead branches that
> need to be removed after a successful merge. Most of us forget to do that.
While thinking about this, I found some useful commands for this kind of work:
git branch -r --merged
When run from master, all these branches could be deleted because
they've been merged into master:
origin/feature/allow-sbt-to-change-the-order-of-compilation-1000664
origin/feature/find-references-1000698
origin/feature/surround-selection-1001010
origin/feature/tuning-semantic-highlighting
origin/issue/hyperlink-to-implicit-1001002
origin/issue/iindex-value-for-arrays-1001009
origin/issue/jdk-1000406-again
origin/issue/multiple-errors-1000735
origin/issue/open-declaration-fails-from-popup-menu-1000920
origin/issue/overlong-problem-markers-1000671
origin/issue/show-only-accessible-members-1000784
origin/issue/show-type-of-selection-1000954
origin/issue/todo-1000634
origin/issues/equinox-hook-1000918
--no-merged shows the un-merged branches, but again, from the
perspective of the current branch.
> Everyone, including committers, would issue pull-requests from their own
> forks. Given the distributed nature of Git, and the great support in Github,
> I don't foresee any problems or extra work.
>
> Thoughts?
I see just one risk, it's easier to miss an unmerged branch if it is
in a different repository. And, doesn't it make working together on a
feature more complicated? If I have to fork the fork and then send
pull requests for the fork.. seems messy.
Cheers,
Mirko
--
Mirko Stocker |
m...@misto.ch
Work:
http://ifs.hsr.ch |
http://infoq.com
Personal:
http://misto.ch |
http://twitter.com/m_st