r/programming • • Jun 19 '14

Reinventing GIT interface

http://tonsky.me/blog/reinventing-git-interface/
221 Upvotes

325 comments sorted by

View all comments

13

u/imforit Jun 19 '14

I was largely with it, despite being quite functional with git, until the "always online." I don't think the author has worked with multiple remotes, where one may be your personal github (sync away!) But another may be a large project's core, where you only push a perfect branch when you're good and ready. Sure, the solution provided would likely be customizable, but there was no treatment for controlling your appearance to others at all. It applied his working assumptions which are not necessarily everyone's.

1

u/tonsky Jun 19 '14

What’s the problem with pushing your branch in progress? If it’s your branch nobody else won’t mess with it anyway. You can shuffle and modify it any way you want, while staying perfectly in sync.

6

u/adamcrume Jun 19 '14

Mixing rebase and automatic pushing is a recipe for disaster. Not everyone assumes that each branch is touched by only one developer.

2

u/imforit Jun 19 '14

I have one project where the protocol is a branch (actually a commit) is a fully complete thing, ready for testing and review. There are dozens of core authors and who knows how many open source contributors. You don't push upstream until it is done.

Flexibility is good. It allows for models beyond what any one person has seen.

Edit : tablet keyboard thinks it knows better then me

1

u/tonsky Jun 20 '14

Big public projects may have a problem, yes. In github, however, this is solved by forking && pull requests instead of commiting to repo directly

1

u/imforit Jun 20 '14

right, exactly. So "automatic" needs to have some controls wrapped around it. I'm sure it can be done in a way that subscribes to the principles he laid out.