Documentation: add hooks/update example.
[git/jrn.git] / Documentation / git-rebase.txt
blob16c158f439c7299b92c4419d8a6233ef20fed914
1 git-rebase(1)
2 =============
4 NAME
5 ----
6 git-rebase - Rebase local commits to new upstream head.
8 SYNOPSIS
9 --------
10 'git-rebase' <upstream> [<head>]
12 DESCRIPTION
13 -----------
14 Rebases local commits to the new head of the upstream tree.
16 OPTIONS
17 -------
18 <upstream>::
19         Upstream branch to compare against.
21 <head>::
22         Working branch; defaults to HEAD.
24 Author
25 ------
26 Written by Junio C Hamano <junkio@cox.net>
28 Documentation
29 --------------
30 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
32 GIT
33 ---
34 Part of the gitlink:git[7] suite