From 7a1e952b87c50369d49ea509f04d02c9decd8695 Mon Sep 17 00:00:00 2001 From: John Wilkins Date: Wed, 7 Nov 2012 22:17:46 -0800 Subject: [PATCH] doc: Syntax cleanup for new IA. Signed-off-by: John Wilkins --- doc/source/clone-source.rst | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/doc/source/clone-source.rst b/doc/source/clone-source.rst index 0d771b4fe1e61..ad7dce4e5b4f9 100644 --- a/doc/source/clone-source.rst +++ b/doc/source/clone-source.rst @@ -1,12 +1,15 @@ ========================================= Cloning the Ceph Source Code Repository ========================================= + To clone the source, you must install Git. See `Set Up Git`_ for details. .. _Set Up Git: ../git + Clone the Source ----------------- +================ + To clone the Ceph source code repository, execute:: git clone --recursive https://github.com/ceph/ceph.git @@ -16,17 +19,20 @@ repository. .. tip:: Make sure you maintain the latest copies of the submodules included in the repository. Running ``git status`` will tell you if - the submodules are out of date:: + the submodules are out of date. + +:: cd ceph git status - If they are, run:: +If your submodules are out of date, run:: - git submodule update + git submodule update Choose a Branch ---------------- +=============== + Once you clone the source code and submodules, your Ceph repository will be on the ``master`` branch by default, which is the unstable development branch. You may choose other branches too. @@ -37,4 +43,5 @@ development branch. You may choose other branches too. :: + git checkout master -- 2.39.5