[git-users] Re: need clarification on interactive rebase, please

2012-03-22 Thread Les Nightingill
Thank you PJ... yes you are exactly correct. I'm not clear, though, why the mvim default in this scenario is to open in background. On Mar 22, 11:01 am, PJ Weisberg wrote: > On Wednesday, March 21, 2012, Les Nightingill > wrote:> Solved! (not entirely sure why, though!). Posting the solution her

[git-users] Re: need clarification on interactive rebase, please

2012-03-21 Thread Les Nightingill
Solved! (not entirely sure why, though!). Posting the solution here for future Googlers. The solution is on StackOverflow http://stackoverflow.com/questions/4737381/git-editor-not-working-with-macvim The solution is this configuration: git config --global core.editor "mvim -f" Strange thing

[git-users] Re: need clarification on interactive rebase, please

2012-03-21 Thread Les Nightingill
Thanks for your suggestion, Thomas, here are the steps that result in the weird behaviour: (in an empty git repo...) echo "bish bash bosh" >> file1.txt echo "bish bash bosh" >> file2.txt echo "bish bash bosh" >> file3.txt git add . git commit -m "initial commit" echo "bish bash bosh" >> file4.tx

[git-users] Re: need clarification on interactive rebase, please

2012-03-21 Thread Thomas Ferris Nicolaisen
I haven't experienced this. Are you maybe doing git rebase -i .. where is the latest commit in your repo (same as doing git rebase -i HEAD)? Usually I rebase like this (if I want to edit the last 5 commits): git rebase -i HEAD~5 On Wednesday, March 21, 2012 8:11:54 PM UTC+1, Les Nightingill