From 3544268d2819c2aab0e4422c2db3b33c1c045ace Mon Sep 17 00:00:00 2001 From: aheadanswer <82540664+aheadanswer@users.noreply.github.com> Date: Wed, 14 Apr 2021 21:56:29 +0200 Subject: Add checkout -b --- git | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git b/git index 16b8f4f..67c5afe 100644 --- a/git +++ b/git @@ -7,6 +7,9 @@ git branch --set-upstream-to=origin/master master git branch new-branch git switch new-branch + +git checkout -b new-branch + git switch master git merge new-branch -- cgit v1.2.3