Depend on a branch or tag using a git URL in a package.json?

From the npm docs, using a git URL: git://github.com/<user>/<project>.git#<branch> git://github.com/<user>/<project>.git#feature\/<branch> As of NPM version 1.1.65, you can use a shorten github URL: <user>/<project>#<branch> UPDATE 2022 Don’t use git:// protocol for GitHub, as it is not supported npm ERR! The unauthenticated git protocol on port 9418 is no longer supported. npm ERR! Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for … Read more

How is a tag different from a branch in Git? Which should I use, here?

From the theoretical point of view: tags are symbolic names for a given revision. They always point to the same object (usually: to the same revision); they do not change. branches are symbolic names for line of development. New commits are created on top of branch. The branch pointer naturally advances, pointing to newer and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)