mdawar.dev

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

Snippets

All Tags

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.

Post JSON data Using Curl

Make an HTTP POST request using Curl with JSON data.