Re:Gitless: experimental version control system
by hbogert on Monday February 09, 2015 @04:35AM
(#9020343)
A lot of people want to use powerful tools but want it through an iPad-ish interface. If I'm using a space-rocket to get to the moon, I'm certainly going to learn how this shit is working and not fooling myself that if I just know what the buttons should do,I understand the system.
GIT is marvelous if you understand the data-structures, people are too fixated on the commands and think everyone one of them is like magic, but all those commands just function on a handful of data structures. (though some of the commands are not always intuitively named)
Re:Gitless: experimental version control system
by viraptor on Monday February 09, 2015 @04:56AM
(#9020413)
Well, you can understand the data-structures and still not like git's interface. The data structures or your familiarity with the git internals don't change the fact that the CLI is annoyingly inconsistent. Learning more of internals won't save you from memorising which variation of the option is being used this time. For example:
Re:Gitless: experimental version control system
by faceplanter on Monday February 09, 2015 @05:28AM
(#9020511)
This so much. People consistently complain about PHPs' stdlib and how the naming and parameter order are not streamlined. Git is very similar to PHP in this case. It's not something that's going to keep people from using it but it is one of those warts that people just have accepted.
Re:Gitless: experimental version control system
by StavrosK on Monday February 09, 2015 @08:37AM
(#9021052)
Exactly. Git's porcelain is just amazingly inconsistent and really badly designed. I wonder why nobody has come up with a better design yet, I can't imagine it would be that hard to do... Maybe I'll give it a shot.
Re:Gitless: experimental version control system
by e12e on Monday February 09, 2015 @08:23AM
(#9020998)
Very much my main reason for preferring mercurial to git. Has there been any real talk in re-factoring the UI for a major-version of git? Clearly it would break some things, but simple stuff, like settling on rm or remove or delete etc... seems like a good idea?
On the other hand, I suppose the git-plugin[1] for mercurial is good enough, that there's really no reason to use git for those that feel strongly about the UI?
Re:Gitless: experimental version control system
by jammycakes on Monday February 09, 2015 @04:13AM
(#9020286)
In my experience, if you are to learn Git properly, you need to start off with a GUI.
Some of the concepts behind DVCS, such as the DAG, merging, resolving conflicts, even the staging area, are much easier to understand when you can actually visualise them. I've found that people who try to jump in at the deep end with the command line sometimes don't understand Git as well as they think they do.
These days I tend to use the command line a lot more, and I would strongly recommend people to do so once they've mastered the core concepts, but I still like to have a GUI to hand so I can see at a glance where things are at with my branches, staging area, etc.
Re:Gitless: experimental version control system
by zeendo on Monday February 09, 2015 @07:16AM
(#9020767)
In the last 5.5 years I've been using git I haven't met one person who used a GUI when learning it. I've taught several people how to use git and seen many others learn on their own....all no-GUIs. This experience spanned a variety of development teams in different companies (I was a consultant the entire time).
I'm not claiming a GUI hampers learning Git but just to offer some experience of it not being necessary.
Re:Gitless: experimental version control system
by jammycakes on Monday February 09, 2015 @04:57AM
(#9020418)
Depends on the GUI tool. Some of them do over-simplify things, for example, by omitting the DAG view. This is misleading because it tries to make the source history appear linear when it isn't. GitHub for Windows and Visual Studio's source history both make this mistake, for instance.
Have you tried SourceTree? That's the one I tend to recommend these days. Alternatively, if you're prepared to splash out a bit, SmartGit is worth considering too.
Re:Gitless: experimental version control system
by austinz on Monday February 09, 2015 @05:12AM
(#9020455)
I use a combination of SourceTree and the command line for my workflow, and can heartily recommend it. Some operations are just more intuitive to me when using the GUI such as:
- staging portions of many files scattered across a directory tree
- quickly glancing over diffs for a given commit
- understanding the commit graph and the relationship between local and remote branches
Each developer's experience may vary, but in general I feel like a good GUI tool can help a novice user develop and reinforce the mental model necessary to understand what git is doing. For example, what am I doing when I rebase my commit onto master vs merging it?
Re:Gitless: experimental version control system
by br3w5 on Monday February 09, 2015 @05:13AM
(#9020462)
I do much prefer the command line (actually because of its simplicity and directness but that's just my perspective). However, having just trained a team on using git (yes they have only just adopted it!) and finding that the most confusing parts for them were the relation of the working copy to staging to remote then a GUI could have helped.
Re:Gitless: experimental version control system
by erikb on Monday February 09, 2015 @07:41AM
(#9020852)
I certainly used gitk a lot when starting out. But the other gui tools never convinced me. Gui tools have the problem that they often only map part of the process of using the shell tool. The best approach for learning for me was the git book. It's hard and long, but it explains everything and git really solves some hard problems, so in the end I felt it was worth it.
Re:Gitless: experimental version control system
by chriswarbo on Monday February 09, 2015 @04:42AM
(#9020360)
I agree that visualisation is key, but ASCII art from `git log --graph` isn't too bad for getting the point across IMHO. Merging/conflicts/etc. are a straightforward extension of regular `diff` usage, which can be learned in a standalone way before approaching git.
Personally I'm in love with Magit which is a thin Emacs wrapper around git.
Re:Gitless: experimental version control system
by damian2000 on Monday February 09, 2015 @06:40AM
(#9020671)
Agreed, I've been using Git Extensions GUI in Windows recently and its made a big difference. I find being able to select from the recently used repos list great to be able to quickly move around projects.
Re:Gitless: experimental version control system
by s3nnyy on Monday February 09, 2015 @03:44AM
(#9020226)
I like the idea of an easier to use Git but I'd wish for a clearer side-by-side explanation how Gitless is supposed to be simpler than Git (for instance, the CoffeeScript website shows clearly how it compares to JavaScript: http://coffeescript.org/)
Re:Gitless: experimental version control system
by Mathiasdm on Monday February 09, 2015 @07:05AM
(#9020742)
I wish Git would have used a different name than 'branch'. It's completely at odds with branches in any other version control system and only adds confusion for people switching to/from Git.
Mercurial uses the term 'bookmarks' for Git-style branches, I feel that would have been a much better choice.
Re:Gitless: experimental version control system
by pain on Monday February 09, 2015 @04:46AM
(#9020382)
I have waited for a form-fit time to ask if we can experiment with Git using Mercurial syntax as well.
While I have a feeling many would change Distributed Version Control System if there was immediately human translatable command knowledge between formats.
Begs a question of if many software libraries with their typed dictionaries could counter a built-in thesaurus for alternative tool chains, and end a war between literacy.
(What technical limits are aside from fighting for how to pattern match each element and differentiate what is integral to relate.. and committing that a base human localization.)
Re:Gitless: experimental version control system
by erikb on Monday February 09, 2015 @08:11AM
(#9020953)
After reading the comments I found a few ideas that were not represented, so I write them here:
1. Git thinks around a commit, Gitless thinks around a file. Comparing two tools on a different basis might result in a flawed comparison. The reason that git uses for considering commits over single files is as far as I know, that you as a developer consider consistent states of your project. Before and after a change a project should be able to build, for instance. Often these changes can not happen in a single file and still be consistent. Therefore a project state is considered a unit, not a set of files that are changed on their own.
2. The staging area. Gitless thinks the staging area is a problem so it seems to be removed (might be a wrong interpretation by me). The staging area is quite important though. Sometimes I have made many changes, but I don't want all of them in one commit. In another scenario I did many changes that after squashing plus a few edits here and there might be better represented by a much smaller amount of commits. In both cases I need a space that is not the repository space of completed commits nor the workspace to represent a commit in its creation. The staging area might not be the best way to do it (I don't know a better one, though), but completely removing it without an alternative does not solve the problem.
Re:Gitless: experimental version control system
by JonathonW on Monday February 09, 2015 @04:01AM
(#9020266)
So... if I'm reading this right, this is basically Git without the staging area/index? (Or, alternatively, Git where tracked files are always in the staging area?)
Re:Gitless: experimental version control system
by nulltype on Monday February 09, 2015 @04:14AM
(#9020292)
Git is pretty atrocious, so I like the idea here, but I'm not sure it goes far enough. My main complaints about git are probably
having to commit changes manually (I haven't had to do this in Dropbox)
terrible history and branch navigation (chrome does a better job and that's not even like an important feature of a browser)
confusing command structure and options
history rewriting and the resulting issues
no merge tool (I feel like kaleidoscope is the minimum here)
submodules
Gitless seems to address #3 there but not the others. Actually making a tool that improves git to where it could be would probably be a huge undertaking, and most people do alright with git so maybe it's not worth it. Or maybe there's some graphical git client like tower that fixes all this stuff.
Re:Gitless: experimental version control system
by pja on Monday February 09, 2015 @06:24AM
(#9020625)
At least some of these are what makes git awesome.
* commit changes manually
- I find my self picking individual changes out of the current state of my source & committing them individually all the time, so this is just perfect.
* history & branch navigation.
- Um. Not sure what the problem is here. I can checkout anything I like, hop around the history at will, tag any version with meaningful names etc. Am I missing something?
* confusing command structure.
- Yeah, have to give you this one. It is (slowly) getting more consistent over time at least.
* history rewriting
- this means I can hack & commit away then rewrite my changes into a logically consistent series of changesets that make sense individually before pushing to the main repo. I rewrite history all the time before pushing.
* no merge tool
- but is happy to use whatever merge tool you plug into it, which works pretty well in my experience. (See the git-mergetool manpage.)
* submodules
- Yeah, these are mostly awful.
I think git (or mercurial for that matter) is great for people who see having a clean, well documented change history where every commit makes sense in and of itself as a worthwhile thing to have. If you're the kind of developer who just uses a VCS as a sort of 'source code backup' and your revision history consists mostly of a long series of "Update" comments then all the extra power that git has is just extra complexity that you don't need.
Re:Gitless: experimental version control system
by nulltype on Monday February 09, 2015 @05:49PM
(#9024345)
Git makes it way harder than necessary to do all these things and has a steep learning curve (generally a euphemism for bad design).
I'm proposing that you can get all the benefits you talk about but in a far more usable manner. I like a clean master branch with atomic sensible commit messages as much as the next man. Git just makes it a real chore to get there.
You seemed confused about the history and branch navigation, so maybe I can explain that one better.
What I want is to visually view the history of a file, and trace, for instance, a function as it moves through my project, into different files, etc. I also want to easily find code that I deleted in the past to use as a reference for implementing a new version of the code, rather than keeping it in some "obsolete" folder in source control. I have seen people who do that. There are ways to do these things now involving searching git logs and viewing diffs or checking out old branches, but the interface is very poor. Even the interface on Time Machine is better than git, and that thing isn't build to source code.
But perhaps you are correct. Maybe most people use git primarily as a backup service for code. If so I guess git should make that a way better process. I will point out that github actually offers a way better interface to git than git does. It just still has a long way it can go.
Re:Gitless: experimental version control system
by pjc50 on Monday February 09, 2015 @05:53AM
(#9020555)
Manual commit is important because of the commit message, which is really the thing that distinguishes VCS from sync. Manual add-before-commit is more of an optional design decision, although without it there would still be demands for a way to exclude just this particular file from a commit.
Re:Gitless: experimental version control system
by icebraining on Monday February 09, 2015 @06:05AM
(#9020580)
there would still be demands for a way to exclude just this particular file from a commit.
Arguably, git already has that with stash; it just needs a simple way of stashing whole files. In bazaar, which doesn't have add-before-commit for existing files, I often do "bzr shelve <file>; bzr commit; bzr unshelve".
Re:Gitless: experimental version control system
by br3w5 on Monday February 09, 2015 @05:15AM
(#9020470)
Keeping branches up to date can be a pain i.e. pull master into local feature branch then push up to remote feature branch (although gpp command in the preszto git module gets around this a little but you still need to update your working copy https://github.com/sorin-ionescu/prezto/tree/master/modules/...)
BUT separate steps for this is good because it allows for better inspection and the ability to recover
Re:Gitless: experimental version control system
by jsprogrammer on Monday February 09, 2015 @04:20AM
(#9020308)
I wonder if there are any benchmarks or case-studies on very large git repos? Ideally you'd want to track (commit) every change to files and allow the user to place tags at certain places in the graph (similar to how commits are currently used) to represent aggregated logical changes.
It would also be nice to have a visualization of the graph that could easily be 'seeked' through like a video.
Putting this on top of the existing git CLI code might not be feasible though.
Re:Gitless: experimental version control system
by nulltype on Monday February 09, 2015 @04:46AM
(#9020378)
Nice! Yeah that's along the lines I was thinking. There have been attempts at visualizations, like I remember clearcase had one that was probably pretty advanced 30 years ago.
I think it's very doable without any serious R&D, and you could build it on top of git/maybe github. The real question to me is: is it worth the effort, and would anyone actually pay for it.
People pay for tower and kaleidoscope so I assume it's possible. I think this is totally something GitHub should make but they seem to be focussing on other things.
Re:Gitless: experimental version control system
by jsprogrammer on Monday February 09, 2015 @07:29AM
(#9020814)
Conceptually it is very simple. Integrating it with existing tools is where the real work is. Ideally, I think you'd want it integrated with your text editor and it should be useful not only for code, but more general composition (I'm thinking scientific literature) as well.
Of course, getting this to work in real-time with your collaborators is probably the holy grail and has been implemented to some extent over the years in quite a few products.
Re:Gitless: experimental version control system
by 112percent on Monday February 09, 2015 @04:13AM
(#9020285)
I think the problem lies with the expectation that people will just pick up how to use git and how it works.
Wouldn't it be better to provide small classes to people where understanding can be gained, rather than abstract how to use Git with a different client?
Similarly, git has a somewhat complex situation where files can be staged, changed, tracked, and/or ignored; confusingly files can be odd mixtures of all four, and it can be quite hard to understand how to change the state of a file in some cases.
Gitless simplifies this a bit by removing the "stage", so files are either tracked, untracked, or ignored, with no ability to mix states. And instead of selectively staging changed files and then committing them in two separate steps (as you do in git), you stage and commit in one go.
Gitless is built on git; someone familiar with git can easily tranlate the gitless commands into the underlying git commands. It's not doing anything magic, but for day-to-day use the commands are probably a little more consistent and sensible.
Personally, my biggest pain point with git comes from managing complex branching situations; trying to figure when/how to merge, rebase, and cherry pick can be frustrating. Sadly, gitless doesn't (yet) help with this area.
(Short form: Gitless tries to make git's syntax simpler and more consistent.)
Re:Gitless: experimental version control system
by br3w5 on Monday February 09, 2015 @06:05AM
(#9020579)
So is gitless against working with hunks of files because the docs say that having files with parts in multiple states is a problem? But this actually gives more flexibility. Yes it's more complex but that's the trade-off.
Re:Gitless: experimental version control system
by Lazare on Monday February 09, 2015 @08:49AM
(#9021099)
I'm not sure I'd say gitless is "against" it so much as it's focused on making the tasks people do every day easier. I use git every day, but I think I ended up staging individual hunks of files maybe...twice in the past year?
(And you can still drop back to git if you do need that functionality. As the docs note, gitless and git are entirely compatible.)
Re:Gitless: experimental version control system
by jennings223 on Monday February 09, 2015 @05:13AM
(#9020461)
Thank you so much. I think they should definitely put something like your explanation in their documentation to show the difference in a more expressive way.
Re:Gitless: experimental version control system
by mikekchar on Monday February 09, 2015 @05:11AM
(#9020454)
As an experienced git user, as far as I can tell s/git/gl ;-) I couldn't really see any differences at all from the documentation. Perhaps I missed something. An overview of the differences would be very nice.
The one thing that concerns me is the inclusion of rebase. If a wrapper is supposed to change difficult underlying concepts in git, why keep the most difficult concept: rebase. I like rebase, but for many common workflows you really don't want to use it.
Re:Gitless: experimental version control system
by jennings223 on Monday February 09, 2015 @05:26AM
(#9020503)
I got the exact feeling as yours at first. :)
My understanding of your concern of rebase is that if they are gonna change that (or get rid of that), it will be a change of the workflow instead of just a simplification of it.
I used to rely on merge other than rebase when my local tree is diverted. That usually ended up with two commits (one for my local changes, one for the merge). But later I learned to use rebase. It would only result in one commit, which I feel is kinda nice coz you have a cleaner and more correct(time-wise) commit history. I don't know if this is the fundamental purpose of rebase. Advice welcome.
Re:Gitless: experimental version control system
by mikekchar on Friday February 20, 2015 @02:23AM
(#9079362)
This was a long time ago, so maybe you won't see this reply :-) Rebase is awesome as long as you never publish the branch before you rebase. If anyone uses your branch, then the history will not match up and they will not be able to merge their changes because Git will not be able to determine the order of the commits. I have gone through this more than once and it is not fun at all.
Rebase works extremely well for what is was designed for: You have a lot of people working completely independently and you want to submit your changes to a central maintainer. You rebase your branch so that the changes appear to be applied directly onto their branch. It makes it much, much easier to review. If the change is accepted then it is merged and everybody uses the merged version. If not, the branch is destroyed (of course you still have your changes in your repository). As long as nobody makes any changes to (or branches off of) a branch that will be rebased, then there will be no problem.
Because the vast majority of people use git as kind of a "better SVN", with a centralized repository and published branches (using Github or the like), most people should never, ever use rebase. Especially if you are trying to design a simple workflow for neophytes, then you should almost certainly not make rebase easy to reach.
Like I said, I like rebase, but it is not something that fits well in a collaborative office environment. It works much better in a hugely distributed open source project, or a personal project (if you are being very careful).
GIT is marvelous if you understand the data-structures, people are too fixated on the commands and think everyone one of them is like magic, but all those commands just function on a handful of data structures. (though some of the commands are not always intuitively named)
Recommended reading: http://ftp.newartisans.com/pub/git.from.bottom.up.pdf
On the other hand, I suppose the git-plugin[1] for mercurial is good enough, that there's really no reason to use git for those that feel strongly about the UI?
[1] http://hg-git.github.io/
Some of the concepts behind DVCS, such as the DAG, merging, resolving conflicts, even the staging area, are much easier to understand when you can actually visualise them. I've found that people who try to jump in at the deep end with the command line sometimes don't understand Git as well as they think they do.
These days I tend to use the command line a lot more, and I would strongly recommend people to do so once they've mastered the core concepts, but I still like to have a GUI to hand so I can see at a glance where things are at with my branches, staging area, etc.
I'm not claiming a GUI hampers learning Git but just to offer some experience of it not being necessary.
With that said, this is very cool - https://pcottle.github.io/learnGitBranching/
Or well, it was when it worked. This seems similar, in spirit, but not as good as learnGitBranch was... - https://onlywei.github.io/explain-git-with-d3/
In trying to be simple they often left me feeling powerless
Have you tried SourceTree? That's the one I tend to recommend these days. Alternatively, if you're prepared to splash out a bit, SmartGit is worth considering too.
This should be an interactive tutorial with visualization. It is currently broken for me (Chrome-Linux). There is screenshot on Github:
https://github.com/pcottle/learnGitBranching
Personally I'm in love with Magit which is a thin Emacs wrapper around git.
While I have a feeling many would change Distributed Version Control System if there was immediately human translatable command knowledge between formats.
Begs a question of if many software libraries with their typed dictionaries could counter a built-in thesaurus for alternative tool chains, and end a war between literacy.
(What technical limits are aside from fighting for how to pattern match each element and differentiate what is integral to relate.. and committing that a base human localization.)
1. Git thinks around a commit, Gitless thinks around a file. Comparing two tools on a different basis might result in a flawed comparison. The reason that git uses for considering commits over single files is as far as I know, that you as a developer consider consistent states of your project. Before and after a change a project should be able to build, for instance. Often these changes can not happen in a single file and still be consistent. Therefore a project state is considered a unit, not a set of files that are changed on their own.
2. The staging area. Gitless thinks the staging area is a problem so it seems to be removed (might be a wrong interpretation by me). The staging area is quite important though. Sometimes I have made many changes, but I don't want all of them in one commit. In another scenario I did many changes that after squashing plus a few edits here and there might be better represented by a much smaller amount of commits. In both cases I need a space that is not the repository space of completed commits nor the workspace to represent a commit in its creation. The staging area might not be the best way to do it (I don't know a better one, though), but completely removing it without an alternative does not solve the problem.
having to commit changes manually (I haven't had to do this in Dropbox)
terrible history and branch navigation (chrome does a better job and that's not even like an important feature of a browser)
confusing command structure and options
history rewriting and the resulting issues
no merge tool (I feel like kaleidoscope is the minimum here)
submodules
Gitless seems to address #3 there but not the others. Actually making a tool that improves git to where it could be would probably be a huge undertaking, and most people do alright with git so maybe it's not worth it. Or maybe there's some graphical git client like tower that fixes all this stuff.
* commit changes manually - I find my self picking individual changes out of the current state of my source & committing them individually all the time, so this is just perfect.
* history & branch navigation. - Um. Not sure what the problem is here. I can checkout anything I like, hop around the history at will, tag any version with meaningful names etc. Am I missing something?
* confusing command structure. - Yeah, have to give you this one. It is (slowly) getting more consistent over time at least.
* history rewriting - this means I can hack & commit away then rewrite my changes into a logically consistent series of changesets that make sense individually before pushing to the main repo. I rewrite history all the time before pushing.
* no merge tool - but is happy to use whatever merge tool you plug into it, which works pretty well in my experience. (See the git-mergetool manpage.)
* submodules - Yeah, these are mostly awful.
I think git (or mercurial for that matter) is great for people who see having a clean, well documented change history where every commit makes sense in and of itself as a worthwhile thing to have. If you're the kind of developer who just uses a VCS as a sort of 'source code backup' and your revision history consists mostly of a long series of "Update" comments then all the extra power that git has is just extra complexity that you don't need.
I'm proposing that you can get all the benefits you talk about but in a far more usable manner. I like a clean master branch with atomic sensible commit messages as much as the next man. Git just makes it a real chore to get there.
You seemed confused about the history and branch navigation, so maybe I can explain that one better.
What I want is to visually view the history of a file, and trace, for instance, a function as it moves through my project, into different files, etc. I also want to easily find code that I deleted in the past to use as a reference for implementing a new version of the code, rather than keeping it in some "obsolete" folder in source control. I have seen people who do that. There are ways to do these things now involving searching git logs and viewing diffs or checking out old branches, but the interface is very poor. Even the interface on Time Machine is better than git, and that thing isn't build to source code.
But perhaps you are correct. Maybe most people use git primarily as a backup service for code. If so I guess git should make that a way better process. I will point out that github actually offers a way better interface to git than git does. It just still has a long way it can go.
Arguably, git already has that with stash; it just needs a simple way of stashing whole files. In bazaar, which doesn't have add-before-commit for existing files, I often do "bzr shelve <file>; bzr commit; bzr unshelve".
BUT separate steps for this is good because it allows for better inspection and the ability to recover
https://coderwall.com/p/euwpig/a-better-git-log
It would also be nice to have a visualization of the graph that could easily be 'seeked' through like a video.
Putting this on top of the existing git CLI code might not be feasible though.
I think it's very doable without any serious R&D, and you could build it on top of git/maybe github. The real question to me is: is it worth the effort, and would anyone actually pay for it.
People pay for tower and kaleidoscope so I assume it's possible. I think this is totally something GitHub should make but they seem to be focussing on other things.
Of course, getting this to work in real-time with your collaborators is probably the holy grail and has been implemented to some extent over the years in quite a few products.
Wouldn't it be better to provide small classes to people where understanding can be gained, rather than abstract how to use Git with a different client?
[1] http://git-legit.org/
Gitless simplifies this a bit by removing the "stage", so files are either tracked, untracked, or ignored, with no ability to mix states. And instead of selectively staging changed files and then committing them in two separate steps (as you do in git), you stage and commit in one go.
Gitless is built on git; someone familiar with git can easily tranlate the gitless commands into the underlying git commands. It's not doing anything magic, but for day-to-day use the commands are probably a little more consistent and sensible.
Personally, my biggest pain point with git comes from managing complex branching situations; trying to figure when/how to merge, rebase, and cherry pick can be frustrating. Sadly, gitless doesn't (yet) help with this area.
(Short form: Gitless tries to make git's syntax simpler and more consistent.)
(And you can still drop back to git if you do need that functionality. As the docs note, gitless and git are entirely compatible.)
The one thing that concerns me is the inclusion of rebase. If a wrapper is supposed to change difficult underlying concepts in git, why keep the most difficult concept: rebase. I like rebase, but for many common workflows you really don't want to use it.
My understanding of your concern of rebase is that if they are gonna change that (or get rid of that), it will be a change of the workflow instead of just a simplification of it.
I used to rely on merge other than rebase when my local tree is diverted. That usually ended up with two commits (one for my local changes, one for the merge). But later I learned to use rebase. It would only result in one commit, which I feel is kinda nice coz you have a cleaner and more correct(time-wise) commit history. I don't know if this is the fundamental purpose of rebase. Advice welcome.
Rebase works extremely well for what is was designed for: You have a lot of people working completely independently and you want to submit your changes to a central maintainer. You rebase your branch so that the changes appear to be applied directly onto their branch. It makes it much, much easier to review. If the change is accepted then it is merged and everybody uses the merged version. If not, the branch is destroyed (of course you still have your changes in your repository). As long as nobody makes any changes to (or branches off of) a branch that will be rebased, then there will be no problem.
Because the vast majority of people use git as kind of a "better SVN", with a centralized repository and published branches (using Github or the like), most people should never, ever use rebase. Especially if you are trying to design a simple workflow for neophytes, then you should almost certainly not make rebase easy to reach.
Like I said, I like rebase, but it is not something that fits well in a collaborative office environment. It works much better in a hugely distributed open source project, or a personal project (if you are being very careful).