feat(devgen/cli): add config info command and improve undo commit message formatting
This commit is contained in:
2 files changed
+30
-1
No files matched your search
@@ -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)
|
||||
Reference in new issue
Block a user