Skip to content

Commit bced46a

Browse files
committed
clone.py - updated comments
1 parent bb13a77 commit bced46a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/mepo/command/clone.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,19 @@
1414
def run(args):
1515
"""
1616
Entry point of clone.
17+
18+
Multiple ways to run clone
19+
1. After fixture has been cloned (via git clone)
20+
a. mepo init
21+
mepo clone
22+
b. mepo clone (initializes mepo)
23+
2. Clone fixture as well
24+
a. mepo clone <url> [<directory>]
25+
b. mepo clone -b <branch> <url> [<directory>]
26+
1727
Steps -
1828
1. Clone fixture - if url is provided
19-
2. Read state - if state does not exist, initialize mepo (write state) first
29+
2. Read state - initialize mepo (write state) first, if needed
2030
3. Clone components
2131
4. Checkout all repos to the specified branch
2232
"""

0 commit comments

Comments
 (0)