You might also be interested in add -i. If your commit is so big that you have to review it to see all the changes, you could use add -i to break up your changes into multiple commits by staging only some of your line changes. The idea being that you keep your commits as small as possible and then use rebase -i to re-arrange your branch before merging, pushing, or submitting.
~Ryan On Mon, Nov 10, 2008 at 3:34 AM, Philluminati <[EMAIL PROTECTED]> wrote: > > wow, thanks Ryan, didn't realise I could do that. > > On Nov 7, 11:07 pm, Ryan Graham <[EMAIL PROTECTED]> wrote: >> Crazy thought.... Add -v to your git commit? >> >> ~Ryan >> >> On 7-Nov-08, at 6:56 AM, Philluminati <[EMAIL PROTECTED]> >> wrote: >> >> >> >> > Is there a way to start screen and pass in parameters that will cause >> > it to split the window and run a command in each window? >> >> > To see the end result I want manually I do this: >> >> > #start screen in gnome terminal >> > screen >> >> > #skip welcome page if it's there with Enter >> >> > #go into split screen mode: >> > Ctrl + A, Shift + S >> >> > #create a second screen session >> > Ctrl + A, Ctrl + C >> >> > #In the top pane run >> > git diff >> >> > #In the bottom pane run >> > git commit -a >> >> > Is there a way to script ALL of those steps easily please? >> > (note you use Ctrl+A, <tab>) to switch between panes. >> >> > Failing that, could you do it all within vim? >> >> > run git commit -a (which opens vim) followed by :split <git diff> or >> > however you get a command in there? >> >> > Phill >> >> > > > -- http://rmgraham.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [EMAIL PROTECTED] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
