Magit: What is the difference between checking out a new branch and creating a new branch? reddit / emacs ---------------------------------------------------------------------- vfclists · 2022-04-27 14:23 In the Magit branch options, there is `Checkout` and `Create` for branches and `spin-off` and `spin-out`. What is the difference between them? I understand checking out a new branch as making a copy of the current branch and working on it. But when you create a new branch or a `spin-out` are you creating a branch linked to nothing at all, like a branch empty of any code at all? ---------------------------------------------------------------------- tomratboy · 2022-04-27 14:50 Checkout - current commit on current branch Create branch - specify commit/branch Spin-off - create new branch off current commit and reset old branch to upstream Spin-out - create a new branch off current commit but doesn't reset old branch This might be useful: https://magit.vc/manual/magit/Branch-Commands.html ---------------------------------------------------------------------- tdavey · 2022-04-27 15:57 Meta comment: tomratboy writes an essentially perfect reply to a request for help. It's a model to follow: answers the questions precisely and concisely, and concludes with a link to the relevant doc. ---------------------------------------------------------------------- collapsing_spacetime · 2022-04-27 17:16 One is the first boss of Stormhill castle, the other is a boss in Leyndell. ... ... ... oh... you meant Magit... ---------------------------------------------------------------------- mickeyp · 2022-04-27 20:41 ... git gud? ---------------------------------------------------------------------- tdavey · 2022-04-27 21:43 Hey Mickey, I gave you a little shout-out in this current r/emacs thread: [https://www.reddit.com/r/emacs/comments/ucldkz/are\_we\_livin g\_in\_the\_golden\_age\_of\_emacs/](https://www.reddit.com/r/emacs/co mments/ucldkz/are_we_living_in_the_golden_age_of_emacs/). Thanks for all you do for Emacs. ---------------------------------------------------------------------- mickeyp · 2022-04-28 05:20 Thanks :) ---------------------------------------------------------------------- [deleted] · 2022-04-28 08:31 [deleted]