You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/interfaces/cli.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,14 @@
2
2
3
3
After setting up `gitman` with a [configuration file](../index.md#setup), various commands can be run to manage these Git-controlled source dependencies.
4
4
5
+
## Init
6
+
7
+
To generate a sample configuration for a new project, run:
8
+
9
+
```sh
10
+
$ gitman init
11
+
```
12
+
5
13
## Install
6
14
7
15
To clone/checkout the specified dependencies, run:
@@ -34,7 +42,7 @@ It will only fetch from the repository if needed. To always fetch, run:
34
42
gitman install --fetch
35
43
```
36
44
37
-
It will exit with an error if there are any uncommitted changes in dependencies. To overwrite all changes, run:
45
+
It will exit with an error if there are any uncommitted changes in dependencies or a post-install script fails. To overwrite all changes or ignore script failures, run:
Copy file name to clipboardExpand all lines: docs/interfaces/plugin.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Delete all untracked files in dependencies by instead running:
16
16
git deps --clean
17
17
```
18
18
19
-
Git will exit with an error if there are any uncommitted changes in dependencies. To overwrite all changes, run:
19
+
Git will exit with an error if there are any uncommitted changes in dependencies or a post-install script fails. To overwrite all changes or ignore script failures, run:
0 commit comments