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
* Create a git repository and change the current working directory to the repository root.
6
+
* Create a temporary git repository.
7
+
* If `withRemote` is `true`, creates a bare repository, initialize it and create a shallow clone. Change the current working directory to the clone root.
8
+
* If `withRemote` is `false`, creates a regular repository and initialize it. Change the current working directory to the repository root.
6
9
*
7
-
* @method gitRepo
8
-
* @param {String} [branch='master'] The branch to initialize.
9
-
* @return {String} The path of the repository otherwise.
10
+
* @param {Boolean} withRemote `true` to create a shallow clone of a bare repository.
11
+
* @param {String} [branc='master'] The branch to initialize.
12
+
* @return {String} The path of the clone if `withRemote` is `true`, the path of the repository otherwise.
0 commit comments