Leave an empty line between log and sign-off.
[git/jnareb-git/bp-gitweb.git] / Documentation / git-checkout.txt
blobf753c149a5f2c45bd57742475e9d81a25c309a2c
1 git-checkout(1)
2 ===============
4 NAME
5 ----
6 git-checkout - Checkout and switch to a branch.
8 SYNOPSIS
9 --------
10 'git-checkout' [-f] [-b <new_branch>] [<branch>]
12 DESCRIPTION
13 -----------
14 Updates the index and working tree to reflect the specified branch,
15 <branch>. Updates HEAD to be <branch> or, if specified, <new_branch>.
17 OPTIONS
18 -------
19 -f::
20         Force an re-read of everything.
22 -b::
23         Create a new branch and start it at <branch>.
25 <new_branch>::
26         Name for the new branch.
28 <branch>::
29         Branch to checkout; may be any object ID that resolves to a
30         commit. Defaults to HEAD.
32 Author
33 ------
34 Written by Linus Torvalds <torvalds@osdl.org>
36 Documentation
37 --------------
38 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
40 GIT
41 ---
42 Part of the gitlink:git[7] suite