Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:expstaticrollback

Ein Ziel des statischen Veröffentlichens auf eine frühere Veröffentlichung zurücknehmen: ein neuer Commit mit den Dateien dieses Tags, getaggt und gepusht; der Verlauf bleibt.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/expstaticrollback.md

On this page

This page is a translation. Read the English original

exp:expstaticrollback

Ein Ziel des statischen Veröffentlichens auf eine frühere Veröffentlichung zurücknehmen: ein neuer Commit mit den Dateien dieses Tags, getaggt und gepusht; der Verlauf bleibt.

Skript bin/php/expstaticrollback.php, Code in kernel/private/classes/commands/expstaticrollback.php. Führen Sie es im Wurzelverzeichnis der Installation aus, als der Benutzer, unter dem der Webserver läuft:

./console exp:expstaticrollback --help
./console exp:static:rollback --help
php bin/php/expstaticrollback.php --help

Hilfetext

Was --help ausgibt, so wie der Befehl es schreibt:

Roll a static site back to an earlier publish
Names an earlier publish by its number or its tag static/<target>/<n> (exp:static:status lists
them) and lists what would change. With --apply it makes a new commit that holds the files of that
publish, tags it with the next number and pushes it: nothing is deleted from the history, no tag is
moved and the push is never forced, so a rollback can itself be rolled back.

./console exp:static:rollback github-public 4                 what would change
./console exp:static:rollback github-public 4 --apply
./console exp:static:rollback github-public static/github-public/4 --apply --no-push

Optionen

OptionWertHilfe
--applyDen Commit des Zurücknehmens machen; ohne zeigt der Befehl nur, was sich ändern würde
--messageerforderlichDie Commit-Nachricht (Standard: was veröffentlicht wurde, oder welche Veröffentlichung wiederhergestellt wird)
--no-pushCommitten und taggen, aber nicht pushen (exp:static:push pusht später)
--formaterforderlichtext (Standard) oder json (die Maschinenausgabe exp-static/1)
--loginerforderlichAls dieser Benutzer laufen (so startet die Administration ihre Jobs); als Ausführender aufgezeichnet
--run-iderforderlichDie ID des Laufs (Datum-Uhrzeit-6 Hexziffern) statt einer neuen (die Administration übergibt die ID ihres Jobs)
--progresserforderlichDen Fortschritt zusätzlich an diese Datei anhängen, ein JSON-Objekt pro Zeile (die Administration verfolgt sie)

Aus den Optionsdefinitionen im Code gelesen (startup(), getOptions(), options() oder ezcConsoleOption). Jedes Skript nimmt außerdem die Standardoptionen des Skript-Frameworks (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).

Argumente: [target][to].

Siehe auch


Erzeugt von ./console exp:help:examples --language=ger-de aus bin/php/expstaticrollback.php, kernel/private/classes/commands/expstaticrollback.php. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x