When I use npm install fancyapps/fancybox#v2.6.1 --save, so fancybox package at v2.6.1 tag will be installed. This behavior is described in docs
npm install fancyapps/fancybox#v2.6.1 --save
I want
I use this short format for github repositories:
yarn add github_user/repository_name#commit_hash