← Back to Upcase

Git rebase -i origin/master

(Gregory Zentkovich) #1

Okay, I am rebasing interactively for the first time in vim… I can see it is asking me “what to do for each item” i.e. pick, reword, etc but I am not sure how to do so tried the :! p <- didn’t work

(Gregory Zentkovich) #2

UPDATE: Nevermind, it was obvious…
:stuck_out_tongue: displays line here, then just hit enter.
rebase continues as normal…

(Dan Croak) #3

@gzentkovich Sounds like you solved it but if it’s helpful, here’s a short screencast on interactive rebasing with vim:

In it, I use the following vim features:

  • v (visual mode)
  • ctrl-v (visual block mode)
  • A (append to line)
  • :x (write-quit)

(Gregory Zentkovich) #4

Okay Dan, thanks for the visual toot… I had to watch it a couple of times but I think I get it now… I am practicing rebasing more often (even though I am by myself…) for muscle memory purposes =)

Thanks for the quick demo… it clarified what I thought I knew, but really didn’t =)