Skip to content

kitchen-revert

Shortcut: kr

Revert with caution. Kitchen revert will roll back previous Updates and merges and can impact your environment. The kitchen-revert command should only be used with caution!

Help option

dk kitchen-revert --help
Usage: dk kitchen-revert [OPTIONS]

  Revert latest kitchen commit (can be a merge or a simple commit)

Options:
  -k, --kitchen TEXT  kitchen name
  -y, --yes           Force yes
  --help              Show this message and exit.

Revert kitchen

~ $ dk kitchen-revert --kitchen Dev_Sprint

YYYY-MM-DD HH:MM:SS - Reverting kitchen Dev_Sprint to previous state. Local files will not change.
After this operation, run recipe-get -o in the related recipes.
Done!

Revert kitchen using shortcuts and force

~ $ dk kr --k Dev_Sprint --y

YYYY-MM-DD HH:MM:SS - Reverting kitchen Dev_Sprint to previous state. Local files will not change.
After this operation, run recipe-get -o in the related recipes.
Done!