Skip to main content
Kuldeep Chandra Vishwakarma Logo
KCV

Developer notes

Quick commands, setup routines, shell parameters, and syntax cheat sheets compiled during daily engineering workflows.

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.