Git Command Builder

Choose your Git scenario, adjust parameters, and copy the clean command to your terminal safely.

Select Scenario

Configure Parameters

Removes the last commit but leaves your files modified and staged.

Generated Command

git reset --soft HEAD~1