feat(devgen/cli): add config info command and improve undo commit message formatting

This commit is contained in:
sankalp committed 2025-12-25 00:04:48 +05:45
1 parent 286c46d2b5
commit cfa891dcde
2 files changed
+30 -1

No files matched your search

+3 -1
View File
@@ -115,6 +115,8 @@ def undo_commit() -> None:
).ask():
try:
run_git_command(["git", "reset", "--soft", "HEAD~1"])
typer.secho("Last commit undone. Changes are still staged.", fg=typer.colors.GREEN)
typer.secho(
"Last commit undone. Changes are still staged.", fg=typer.colors.GREEN
)
except Exception as e:
typer.secho(f"Failed to undo commit: {e}", fg=typer.colors.RED)