diff options
| author | Junio C Hamano <junkio@cox.net> | 2006-01-29 17:55:20 -0800 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2006-01-29 17:55:20 -0800 |
| commit | 8fedb83c05d4b3d877a220d614e8b9d40f02709d (patch) | |
| tree | f5add7dac0aa0455f45507b0f14ad770051c3f2f /Documentation | |
| parent | GIT 1.1.5 (diff) | |
| parent | git push -f documentation (diff) | |
| download | git-1.1.6.tar.gz git-1.1.6.zip | |
GIT 1.1.6v1.1.6
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/git-branch.txt | 7 | ||||
| -rw-r--r-- | Documentation/git-push.txt | 8 |
2 files changed, 9 insertions, 6 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt index d20b475735..b1bc8272eb 100644 --- a/Documentation/git-branch.txt +++ b/Documentation/git-branch.txt @@ -7,7 +7,7 @@ git-branch - Create a new branch, or remove an old one. SYNOPSIS -------- -'git-branch' [-d | -D] [<branchname> [start-point]] +'git-branch' [(-d | -D) <branchname>] | [[-f] <branchname> [<start-point>]] DESCRIPTION ----------- @@ -25,10 +25,13 @@ OPTIONS -D:: Delete a branch irrespective of its index status. +-f:: + Force a reset of <branchname> to <start-point> (or current head). + <branchname>:: The name of the branch to create or delete. -start-point:: +<start-point>:: Where to create the branch; defaults to HEAD. This option has no meaning with -d and -D. diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt index 2254bac16e..29fa30752e 100644 --- a/Documentation/git-push.txt +++ b/Documentation/git-push.txt @@ -30,10 +30,10 @@ include::pull-fetch-param.txt[] to be pushed. -f, \--force:: - Usually, the command refuses to update a local ref that is - not an ancestor of the remote ref used to overwrite it. - This flag disables the check. What this means is that the - local repository can lose commits; use it with care. + Usually, the command refuses to update a remote ref that is + not a descendent of the local ref used to overwrite it. + This flag disables the check. This can cause the + remote repository to lose commits; use it with care. Author |
