find-commit-ish

Find the commit-ish reference in a git url.

find-commit-ish

Find the commit-ish reference in a git url.

const findCommitIsh = require('find-commit-ish');
 
findCommitIsh('git://github.com/tkellen/find-commmit-ish.git');
findCommitIsh('git+ssh://git@github:find-commmit-ish.git#branch');
findCommitIsh('git+ssh://git@github/find-commmit-ish.git#tag');
findCommitIsh('git+http://git@github/tkellen/find-commit-ish.git#d716b2a');
findCommitIsh('git+https://git@github/tkellen/find-commit-ish.git#d716b2a');
 
  • 2014-05-14 - v0.1.0 - initial release