From 27e03f7a46e7476dde15643a43aea61ffbe020e2 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 3 Mar 2016 10:59:20 +0200 Subject: [PATCH] - Forgot to mention the branch when adding git submodule. --- content/bundle_certs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/bundle_certs.rst b/content/bundle_certs.rst index f0cee9f..c0173a5 100644 --- a/content/bundle_certs.rst +++ b/content/bundle_certs.rst @@ -24,7 +24,7 @@ aliases and sourced files mentioned in :code:`.bashrc` are present. Here's how: .. code:: shell ssh cgit 'git init --bare /srv/git/REPONAME' - git submodule add -f https://www.shore.co.il/cgit/REPONAME + git submodule add -b master -f https://www.shore.co.il/cgit/REPONAME First I create the remote repository (most of you would probably use Github but I prefer self hosting). Then I add it as a Git submodule. -- GitLab