Skip to content

Tag Archives: version control

Git: When to Close (Delete) Branch after PR

15-Jan-19

When should I close (i.e. delete) the branch after a successful pull request? Rule of thumb: always. (There are exceptions of course.) What if I need to recover the deleted work? You'll just git checkout -b <branch> <sha>  

Install version of an NPM module: module-name@1.0.0-alpha

22-Aug-18

Installing specific version with npm by using npm install [--save-dev] module-name@1.0.0-alpha