Closed ToastyMallows closed 11 years ago
that would be nice... kinda like how phpMyAdmin does it for mysql commands. though please don't make this the default, that would become annoying really quickly.
Just an option to display it would be awesome. With that, You would really learn git
I agree that this shouldn't be the default, but could be available.
+1 to this suggestion, and I have no preference regarding whether it's the default or not.
+1 Being able to modify the command would also be neat.
Modify? We're talking about viewing them.
Just figured that if you can view the command - it might be nice to also be able to modify it.
I suppose. I think that ouht to be a separate ticket though.
Ok so I've added a configuration variable to show the git output, but I have to warn you that it's probably not going to be super helpful since a lot of the commands aren't really what you would use as a cli user. But this could be helpful for debugging etc. anyway. Also, I've got some vague plans to either change to git plumbing commands (which are even more obscure but it's the ones you're supposed to use as an api to git) or a js git implementation, which would make this even less useful for understanding what git commands ungit is using.
This would be a great way to teach the user the actual commands that git uses.
When a user commits some files with a comment, they would see "git commit -m 'hello world'"