Skip to content

Commit 174b510

Browse files
committed
Update README.md
1 parent a905ec1 commit 174b510

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,29 @@ This is rather a workaround.
7272
### Examples
7373

7474
moryx exec create-dbs
75+
76+
77+
## Remotes
78+
79+
The CLI uses Git repositories as templates in order to create new application
80+
projects or add any kind of features to it.
81+
82+
By default, this repository is `https://github.com/PHOENIXCONTACT/MORYX-Template/tree/machine`
83+
if nothing else is provided to the `moryx new` command.
84+
85+
To change or switch later, from where to retrieve templates, `remotes` were
86+
introduced to manage template sources within a project.
87+
88+
### Usage
89+
90+
add <NAME> <URL> <BRANCH> Adds a Git remote to the local config
91+
remove <NAME> Removes Git remotes
92+
use <NAME> Uses the given remote by default
93+
94+
### Examples
95+
96+
moryx remotes
97+
moryx remotes add custom https://example.com/repo.git main
98+
moryx remotes remove custom
99+
moryx remotes use custom
100+

0 commit comments

Comments
 (0)