git (github) repository as npm dependency

{ "name": "node-sample-app", "version": "0.0.1", "private": true, "scripts": { "start": "node app.js" }, "dependencies": { "private-module1": "git+https://github.com/marioosh-net/private-module1", "private-module2": "git+ssh://github.com/marioosh-net/private-module2#master" } }{ "name": "node-sample-app", "version": "0.0.1", "private": true, "scripts": { "start": "node app.js" }, "dependencies": { "private-module1": "git+https://github.com/marioosh-net/private-module1", "private-module2": "git+ssh://github.com/marioosh-net/private-module2#master" } } more info here

Git usable commands

Delete remote and local branch git push origin :branch-to-delete git branch -d branch-to-delete Rename local branch git branch -m old-branch new-branch Join/merge last X (in example below 3) commits into one git rebase -i HEAD~3 In editor (pick last, squash 2 earlier commits): pick 7e168d2 commit message 3 s b3bd215 commit message 2 s 436052d Read more about Git usable commands[…]