From a0a9c7e5dd9fecb7064a890c34bff6782ec07c48 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 13:20:28 -0700 Subject: Fetch the Git submodule in one command --- README.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.txt b/README.txt index 5bc42b4..23430fc 100644 --- a/README.txt +++ b/README.txt @@ -11,11 +11,9 @@ Installation Building cgit involves building a proper version of Git. How to do this depends on how you obtained the cgit sources. -In a cloned cgit repository, first initialize and update the Git submodule. +In a cloned cgit repository, first fetch the Git submodule. - $ git submodule init # register the Git submodule in .git/config - $ $EDITOR .git/config # if you want to specify a different url for git - $ git submodule update # clone/fetch and checkout correct git version + $ git submodule update --init From a cgit tarball, download a proper git version instead. -- cgit