mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
![Sergey Vlasov](/assets/img/avatar_default.png)
The replacement was performed automatically by these commands: perl -pi -e 's/link:(git.+)\.html\[\1\]/gitlink:$1\[1\]/g' \ README Documentation/*.txt perl -pi -e 's/link:git\.html\[git\]/gitlink:git\[7\]/g' \ README Documentation/*.txt Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: Junio C Hamano <junkio@cox.net>
44 lines
778 B
Plaintext
44 lines
778 B
Plaintext
git-checkout(1)
|
|
===============
|
|
|
|
NAME
|
|
----
|
|
git-checkout - Checkout and switch to a branch.
|
|
|
|
SYNOPSIS
|
|
--------
|
|
'git-checkout' [-f] [-b <new_branch>] [<branch>]
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
Updates the index and working tree to reflect the specified branch,
|
|
<branch>. Updates HEAD to be <branch> or, if specified, <new_branch>.
|
|
|
|
OPTIONS
|
|
-------
|
|
-f::
|
|
Force an re-read of everything.
|
|
|
|
-b::
|
|
Create a new branch and start it at <branch>.
|
|
|
|
<new_branch>::
|
|
Name for the new branch.
|
|
|
|
<branch>::
|
|
Branch to checkout; may be any object ID that resolves to a
|
|
commit. Defaults to HEAD.
|
|
|
|
Author
|
|
------
|
|
Written by Linus Torvalds <torvalds@osdl.org>
|
|
|
|
Documentation
|
|
--------------
|
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
GIT
|
|
---
|
|
Part of the gitlink:git[7] suite
|
|
|