-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

git switch


> Switch between Git branches. Requires Git version 2.23+.

> See also `git checkout`.

More information.


Switch to an existing branch:

git switch {branch_name}

Create a new branch and switch to it:

git switch --create {branch_name}

Create a new branch based on an existing commit and switch to it:

git switch --create {branch_name} {commit}

Switch to the previous branch:

git switch -

Switch to a branch and update all submodules to match:

git switch --recurse-submodules {branch_name}

Switch to a branch and automatically merge the current branch and any uncommitted changes into it:

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



-- Response ended

-- Page fetched on Tue May 21 06:26:36 2024