Rebasing in Magit
entropicthoughts.com
Rebasing in Magit
1–10 of 144 posts
Re: Rebasing in Magit
#2Especially for rebasing, subset rebases (using --onto, see https://git-scm.com/book/en/v2/Git-Branching-Rebasing#_more_...) are a breeze with Magit. I can't remember the order of branches to use on the CLI, in Magit it's just "r s" basically. It's really magic.
Re: Rebasing in Magit
#3A patch is an idea, not some snapshot of time. git allows for ideas manipulation. The rebase operation is adjusting ideas to fit a context. And with the reflog (which tracks every operations), you have undo for ideas manipulation.
Re: Rebasing in Magit
#4Re: Rebasing in Magit
#5Re: Rebasing in Magit
#6Magit is one of the few things that makes me, as a Vim user, envy Emacs. And org-mode, since I'm being honest.
Re: Rebasing in Magit
#7Re: Rebasing in Magit
#8Magit is one of the few things that makes me, as a Vim user, envy Emacs. And org-mode, since I'm being honest.
You can use Magit even if you're a Vim user. You don't have to buy into the whole Emacs system – you can treat Emacs as the virtual machine that runs Magit.
Re: Rebasing in Magit
#9I use magit daily for over 8 years now. Over that time I have showed it to many other peers, out of excitement for a tool that made me more productive and helped me learn - but I never could convince even one to use it. Maybe it's my persuasion skills, maybe tool usage is too personal - I don't know, but it makes me kind of sad. The UX of magit is just out of this world. Especially for rebasing, subset rebases (using…
Unfortunately, for most people the fact that it's part of Emacs is a blocker.
And because most people use worse Git tools, they tend to use workflows that are easier with more cumbersome tools; generally just committing all kinds of junk commits to a branch, and using the "squash and merge" feature of GitHub or GitLab to clean everything in a PR/MR up into a single commit.
So yeah, it's sad that people don't use Git to its full potential because almost no other Git interface works as well, and most people aren't going to learn Emacs just for a Git UI.
Re: Rebasing in Magit
#10Magit is one of the few things that makes me, as a Vim user, envy Emacs. And org-mode, since I'm being honest.