simple-git
Advanced tools
Comparing version 3.20.0 to 3.21.0
@@ -567,2 +567,7 @@ import * as resp from './response'; | ||
/** | ||
* Gets the commit hash of the first commit in the repo | ||
*/ | ||
firstCommit(callback?: types.SimpleGitTaskCallback<string>): Response<string>; | ||
/** | ||
* Gets the current value of a configuration property by it key, optionally specify the scope in which | ||
@@ -569,0 +574,0 @@ * to run the command (omit / set to `undefined` to check in the complete overlaid configuration visible |
{ | ||
"name": "simple-git", | ||
"description": "Simple GIT interface for node.js", | ||
"version": "3.20.0", | ||
"version": "3.21.0", | ||
"author": "Steve King <steve@mydev.co>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -311,2 +311,4 @@ # Simple Git | ||
- `options.to` - sets the newset commit in the range to return, use along with `options.from` to set a bounded range | ||
When only one of `options.from` and `options.to` is supplied, the default value of the omitted option is equivalent to `HEAD`. For any other commit, explicitly supply both from and to commits (for example use `await git.firstCommit()` as the default value of `from` to log since the first commit of the repo). | ||
@@ -379,2 +381,4 @@ ## git merge | ||
- `.firstCommit()` gets the commit hash of the first commit made to the current repo. | ||
## git show | ||
@@ -381,0 +385,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
881362
109
10732
836