]> git.ipfire.org Git - thirdparty/git.git/commitdiff
amend! doc: git-worktree: Link to examples
authorJunio C Hamano <gitster@pobox.com>
Thu, 2 Oct 2025 17:46:42 +0000 (10:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Oct 2025 17:49:05 +0000 (10:49 -0700)
doc: git-worktree: link to examples

Also add advice to put new worktrees outside of existing ones.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-worktree.adoc

index 4f4d05d61799a6e7a993f47690ec276e23592797..aa3c737cf8c78dff253a1b0561c0e1fc20f40243 100644 (file)
@@ -501,8 +501,9 @@ locked "reason\nwhy is locked"
 ...
 ------------
 
-[[EXAMPLES]]EXAMPLES
---------------------
+[[EXAMPLES]]
+EXAMPLES
+--------
 You are in the middle of a refactoring session and your boss comes in and
 demands that you fix something immediately. You might typically use
 linkgit:git-stash[1] to store your changes away temporarily, however, your