diff --git a/docs/misc/git.md b/docs/misc/git.md index 7430b41..4e1e319 100644 --- a/docs/misc/git.md +++ b/docs/misc/git.md @@ -179,8 +179,7 @@ It's generally recommended creating annotated tags so it's possible to have all `git branch `: create new branch `git branch -d|--delete `: delete specified branch `git branch -m|--move `: rename a branch without affecting the branch's history -`git switch -c|--create `: create a new branch and switch to it -`git switch --orphan `: create an new un-rooted branch from scratch +`git switch -c `: create a branch and switches to `git switch `: change current branch (update HEAD) and update working directory `git merge `: merges into current branch