From 4c595519ef87abb61ae9d2fd454015effbec2968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 12 Sep 2023 22:06:05 +0200 Subject: tis 12 sep 2023 22:06:04 CEST --- git.wiki | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'git.wiki') diff --git a/git.wiki b/git.wiki index 7ed5931..4b8c09c 100644 --- a/git.wiki +++ b/git.wiki @@ -5,6 +5,14 @@ :: If HEAD is on matching tag, show tag name, otherwise show :: __-__-__ +== Merge base == + +{{{sh +git merge-base +}}} + +Show the closest common ancestor of two commits. + == Git hook "syntax" highlighting == The output of git hooks are in some cases highlighted, see the following examples (each directly echoed to stdout from a post-receive -- cgit v1.2.3