mdawar.dev

A blog about programming, Web development, Open Source, Linux and DevOps.

Snippets

All Tags

Create a Directory if It Does Not Exist in Node.js

Create a directory in Node.js if it does not exist.

Create a Directory if It Does Not Exist

Create a directory from the command line if it does not exist.

Git Change Commit Message

Change the last git commit message.

Git Clone Without Commit History

Clone a Git repository without the full commit history.

Git Set SSH Command

Configure the SSH command used by Git.