I'm trying to install a repository by either a branch or specific commit hash. The npm docs seem to suggest that something like this should work:
for a specific branch:
"repo-name": "git+ssh://git@bitbucket.org:OrgName/projectname.git#<branchname>"
for a specific commit:
"repo-name": "git+ssh://git@bitbucket.org:OrgName/projectname.git#<commithash>"
But when I run "npm i --verbose" trying to install by commit hash, the install gets stuck with a 404 for the repo like this:
npm http fetch GET 404 https://bitbucket.org/OrgName/projectname/get/<commithash>.tar.gz
Does anyone know the correct way to install a branch or commit this way?
Thank you in advance!