aboutsummaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorMateja Marić <mail@matejamaric.com>2021-04-14 21:58:43 +0200
committerGitHub <noreply@github.com>2021-04-14 21:58:43 +0200
commit34d604b811e557e187ae086d28992b429a36c1f3 (patch)
tree6fa3df48eb7206b496e83703895c1e80d7abaa6c /git
parent04cdbd47a779142f7c4be6446a509d2726674ec6 (diff)
parent3544268d2819c2aab0e4422c2db3b33c1c045ace (diff)
downloadmisc-34d604b811e557e187ae086d28992b429a36c1f3.tar.gz
misc-34d604b811e557e187ae086d28992b429a36c1f3.zip
Merge pull request #1 from aheadanswer/patch-1
Add checkout -b
Diffstat (limited to 'git')
-rw-r--r--git3
1 files changed, 3 insertions, 0 deletions
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