Skip to content

Commit 780db61

Browse files
committed
Update documentation
1 parent 43c888c commit 780db61

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ If you have several initialized submodules in your project, and you handle sever
3232

3333
The `git_matrix.sh` script works in the following way:
3434

35-
* You directly move across the project environment branches using the usual Git commands such as `git checkout <branch>` or any other similar.
36-
* Being positioned at the branch you want to update, you can directly run the `./bin/git_matrix.sh` script from the project root folder, which performs the following tasks:
37-
* Updates the active local branch (`git pull`) and submodules status (`git submodule init` & `git submodule update`).
38-
* Updates all environment branches of each submodule.
39-
* If the active branch is the first environment branch (the branch defined in the first position), the script directly does the following actions:
40-
* Positions each submodule in the last commit (HEAD) of its first environment branch.
41-
* Commits the produced changes by the previous action, in the event that there are, including as commit message the list of updates done by the script.
42-
* If the active branch is any other different from the first, there are the following execution alternatives:
43-
* If the script has been executed with the `[-k|--keep]` optional parameter,it directly perfoms the following actions:
44-
* Merges the previous environment branch in order to propagate the commited and pushed changes made in the previous environment/s of the project.
35+
You directly move across the project environment branches using the usual Git commands such as `git checkout <branch>` or any other similar.
36+
37+
Being positioned at the branch you want to update, you can directly run the `./bin/git_matrix.sh` script from the project root folder, which performs the following tasks:
38+
39+
* Updates the active local branch (`git pull`) and submodules status (`git submodule init` & `git submodule update`).
40+
* Updates all environment branches of each submodule.
41+
* If the active branch is the first environment branch (the branch defined in the first position), the script directly does the following actions:
42+
* Positions each submodule in the last commit (HEAD) of its first environment branch.
43+
* Commits the produced changes by the previous action, in the event that there are, including as commit message the list of updates done by the script.
44+
* If the active branch is any other different from the first, there are the following execution alternatives:
45+
* If the script has been executed with the `[-k|--keep]` optional parameter,it directly perfoms the following actions:
46+
* Merges the previous environment branch in order to propagate the commited and pushed changes made in the previous environment/s of the project.

0 commit comments

Comments
 (0)