We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The up-to-date version of git return 8 symbols of hash with --short flag.
--short
git rev-parse --short HEAD => 7f2bf1a5
git rev-parse --short HEAD
7f2bf1a5
https://github.com/kurttheviking/git-rev-sync-js/blob/master/index.js#L118
The text was updated successfully, but these errors were encountered:
https://github.com/NiceLabs/git-rev
import git from "@nice-labs/git-rev"; git.commitHash(true) // arg0 is short flag // output: 75bf4ee // short: true equivalent form: git rev-parse --short HEAD // short: false equivalent form: git rev-parse HEAD
Can come and use my brand new implementation.
Sorry, something went wrong.
No branches or pull requests
The up-to-date version of git return 8 symbols of hash with
--short
flag.git rev-parse --short HEAD
=>7f2bf1a5
https://github.com/kurttheviking/git-rev-sync-js/blob/master/index.js#L118
The text was updated successfully, but these errors were encountered: