diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-01-27 09:46:43 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-01-27 09:46:43 -0800 |
commit | d71eb7dd5b4fb3cafaa3d603f625c0a0f75373f4 (patch) | |
tree | a188c7c0c3c81d2b910440dc14a6a5bcf057aa6d /git-branch.txt | |
parent | c2ce68948000710bfac0e3999df05eda7a465977 (diff) | |
download | git-htmldocs-d71eb7dd5b4fb3cafaa3d603f625c0a0f75373f4.tar.gz |
Autogenerated HTML docs for v2.39.1-367-g5cc98
Diffstat (limited to 'git-branch.txt')
-rw-r--r-- | git-branch.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/git-branch.txt b/git-branch.txt index aa2f78c4c..d382ac69f 100644 --- a/git-branch.txt +++ b/git-branch.txt @@ -123,6 +123,10 @@ OPTIONS points to a valid commit. In combination with `-m` (or `--move`), allow renaming the branch even if the new branch name already exists, the same applies for `-c` (or `--copy`). ++ +Note that 'git branch -f <branchname> [<start-point>]', even with '-f', +refuses to change an existing branch `<branchname>` that is checked out +in another worktree linked to the same repository. -m:: --move:: |