💾 Archived View for freeshell.de › tldr › git-switch.gmi captured on 2024-02-05 at 11:09:15. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

git switch

Switch between Git branches. Requires Git version 2.23+.
See also `git checkout`.

More information.

git switch {branch_name}
git switch --create {branch_name}
git switch --create {branch_name} {commit}
git switch -
git switch --recurse-submodules {branch_name}
git switch --merge {branch_name}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY