-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config.txt: move worktree.* to a separate file
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
- Loading branch information
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
worktree.guessRemote:: | ||
With `add`, if no branch argument, and neither of `-b` nor | ||
`-B` nor `--detach` are given, the command defaults to | ||
creating a new branch from HEAD. If `worktree.guessRemote` is | ||
set to true, `worktree add` tries to find a remote-tracking | ||
branch whose name uniquely matches the new branch name. If | ||
such a branch exists, it is checked out and set as "upstream" | ||
for the new branch. If no such match can be found, it falls | ||
back to creating a new branch from the current HEAD. |