Skip to main content
Kuldeep Chandra Vishwakarma Logo
KCV

Developer notes

Essential CLI commands, shell shortcuts, and configuration snippets I reference frequently while coding and debugging.

Git Commands Cheat Sheet

git commit --amend -m "new message"Modify the message of the most recent commit.
git reset --soft HEAD~1Undo the last commit while preserving changes in files.
git checkout -b <branch-name>Create and switch to a new branch.
git clean -fdRemove untracked files and directories from the working tree.