Skip to main content
DEVELOPER REFERENCE HUB

Developer Cheat Sheets

Quick, reliable reference guides for modern software workflows. Click any command to copy it immediately to your clipboard.

git checkout -b <branch>

Create and switch to a new branch instantly.

git commit --amend --no-edit

Add staged changes to the last commit without changing message.

git reset --soft HEAD~1

Undo the last commit while keeping all changes in your working tree.

git stash push -m 'wip'

Stash uncommitted changes with a custom description label.

git stash pop

Restore the most recently stashed changes and remove from stash list.

git clean -fd

Forcefully remove all untracked files and directories.

git cherry-pick <commit-hash>

Apply the changes introduced by an existing commit to current branch.

git log --oneline --graph --all

Visual ascii tree of all branches and commit history.