You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2022/02/23 14:21:39 UTC

[mina-site] branch master updated: Updated the source page to explain how to clone a branch

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

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 82c2926  Updated the source page to explain how to clone a branch
82c2926 is described below

commit 82c2926f3fc855bccbc4fe9f418785aa04421e59
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Wed Feb 23 15:15:45 2022 +0100

    Updated the source page to explain how to clone a branch
---
 source/mina-project/sources.md | 53 +++++++++++++-----------------------------
 1 file changed, 16 insertions(+), 37 deletions(-)

diff --git a/source/mina-project/sources.md b/source/mina-project/sources.md
index 15a78f3..ea4f729 100644
--- a/source/mina-project/sources.md
+++ b/source/mina-project/sources.md
@@ -32,44 +32,23 @@ write access :
 
     $ git clone https://gitbox.apache.org/repos/asf/mina.git mina
 
-Note that you will get the full repository, and you may probably want to work on a specific branch. We currently have 2 active branches :
-
-  * Mina 2.0
-  * Mina 3.0
-
-Cloning the MINA repository will get you to the trunk, ie the MINA 3.0 branch. If you want to work on th MINA 2.0 branch, you ought to checkout the latest 2.0 tag, after having cloned the repository :
-
-    $ git checkout -b 2.0.10 2.0.10
-
-For the record, here are the various branches you can see :
-
-    $ git tag
-    0.8.3
-    0.8.4
-    0.9.1
-    ...
-    0.9.5
-    1.0.0
-    1.0.1
-    ...
-    1.0.10
-    1.1.0
-    1.1.1
-    ...
-    1.1.7
-    2.0.0-M1
-    2.0.0-M2
-    ...
-    2.0.0-M6
-    2.0.0-RC1
-    2.0.0
-    2.0.1
-    ...
-    2.0.10
-    3.0.0-M1
-    3.0.0-M2
-    mina-parent-3.0.0-M1
+Note that you will get the full repository, and you may probably want to work on a specific branch. We currently have 3 active branches :
 
+  * Mina 2.0.X
+  * Mina 2.1.X
+  * Mina 2.2.X
+
+Cloning the MINA repository will get you to the trunk, ie the MINA 3.0 branch. If you want to work on the MINA 2.0.X branch, you ought to checkout the latest 2.0.X tag, after having cloned the repository :
+
+    $ git checkout -b 2.0.X 2.0.X
+
+You can also clone the branch you want to work on directly:
+
+    $ git clone -b 2.2.X https://gitbox.apache.org/repos/asf/mina.git mina-2.2.X
+
+Will checkout the 2.2.X branche immediately, in a directory named mina-2.2.X.
+
+###
 # Building MINA
 
 Instructions on how to build MINA can be found [here](developer-guide.html)