Skip to content

Commit 28db111

Browse files
committed
Merge branch 'wk/man-deny-current-branch-is-default-these-days' into maint
* wk/man-deny-current-branch-is-default-these-days: user-manual: typofix (ofthe->of the) user-manual: Update for receive.denyCurrentBranch=refuse
2 parents c054ef9 + 50995ed commit 28db111

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Documentation/user-manual.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2004,9 +2004,10 @@ handling this case.
20042004

20052005
Note that the target of a "push" is normally a
20062006
<<def_bare_repository,bare>> repository. You can also push to a
2007-
repository that has a checked-out working tree, but the working tree
2008-
will not be updated by the push. This may lead to unexpected results if
2009-
the branch you push to is the currently checked-out branch!
2007+
repository that has a checked-out working tree, but a push to update the
2008+
currently checked-out branch is denied by default to prevent confusion.
2009+
See the description of the receive.denyCurrentBranch option
2010+
in linkgit:git-config[1] for details.
20102011

20112012
As with `git fetch`, you may also set up configuration options to
20122013
save typing; so, for example:

0 commit comments

Comments
 (0)