You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2019/01/08 09:12:00 UTC

[sling-aggregator] branch master updated: Document checking out the master branch for all repos.

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-aggregator.git


The following commit(s) were added to refs/heads/master by this push:
     new 165f601  Document checking out the master branch for all repos.
165f601 is described below

commit 165f6014bcf0c08148be32db9aee6fbb9f1e5bb2
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Tue Jan 8 10:06:53 2019 +0100

    Document checking out the master branch for all repos.
---
 README.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/README.md b/README.md
index baa6058..7dfc02a 100644
--- a/README.md
+++ b/README.md
@@ -71,8 +71,12 @@ Initialise the local repo checkout and synchronise all git repositories. The com
 ```
 $ repo init --no-clone-bundle -u https://github.com/apache/sling-aggregator.git
 $ repo sync --no-clone-bundle -j 16
+$ repo forall -c 'git checkout master'
 ```
 
+The last command ensures that all repositories are set to use the master branch. For some reason `repo` checks out
+the latest revision but does not check out a specific branch.
+
 The output is a flat list of all Sling modules.
 
 The `-j 16` flag instructs repo to run 16 parallel checkout jobs and is added for performance reasons only.