I really love the emacs interactive rebase mode, which comes up by default when you have EDITOR=emacs and do rebase -i. I know you can do this from within magit as well but I've never gotten into that workflow.
Git rebase -i is not that scary
11–20 of 155 posts
Re: Git rebase -i is not that scary
#12Re: Git rebase -i is not that scary
#13I feel like if you're scared of rebasing, you don't actually understand git.
Re: Git rebase -i is not that scary
#14Re: Git rebase -i is not that scary
#15Re: Git rebase -i is not that scary
#16Big rebase fan here. I find myself using squash the most.
pick a1b2c3d Add user model
s e4f5g6h Fix typo in user model
pick i7j8k9l Add login endpoint
s m0n1o2p WIP debugging login endpoint
s feedbee fixed login endpoint
s deadbee fixed login endpoint
s adebade fixed login endpoint
s abcdefg actually fixed login endpoint
Of course, I get reminded about f/fixup every now and then - think "golly, that will save a second or two" and promptly forget.Re: Git rebase -i is not that scary
#17That “-I” really needs to be lowercase.
Re: Git rebase -i is not that scary
#18I feel like if you're scared of rebasing, you don't actually understand git.
Re: Git rebase -i is not that scary
#19I really love the emacs interactive rebase mode, which comes up by default when you have EDITOR=emacs and do rebase -i. I know you can do this from within magit as well but I've never gotten into that workflow.
The nice thing with magit is how easy it is to manipulate hunks and line, truly editing commits with a surgical precision, all with an handful of keybindings.
Re: Git rebase -i is not that scary
#20I feel like if you're scared of rebasing, you don't actually understand git.
Plus you can always take a note of the commit hash before you do anything crazy. But reflog means you don't have to.
Git really does have all the features you need. I wouldn't argue with anyone complaining about the UI to get there. But it's all in there somewhere.