ποΈ Commit syntax
When running commands, a commit can be identified by its local ID (just the number, e.g. 3) or its server ID (prefixed with c/ or c, e.g. c/7 and c7). Both forms may optionally append a version with v.
ποΈ Commit
A commit can be understood as snapshot of all tracked files in the repository. Commits are the fundamental block in Twigg workflow, you first make changes you want then commit.
ποΈ Push
Pushes your current commit and all parent commits until it reaches one thatβs already submitted.
ποΈ Pull
Pulls commits from the server to local.
ποΈ Init
Initializes Twigg in the current directory.
ποΈ Rebase
Creates a new version of a commit by changing its parent to a new target. All of its descendant commits are automatically rebased to the new version as well.
ποΈ Amend
To edit a commit just goto it and start editing. You can check your changes with tw st, or use the VS code extension for a more detailed comparison.
ποΈ Restore
Restores a previous version of a commit.
ποΈ Load
Loads the files from a commit into your working directory - without creating a new commit.
ποΈ Key
Set CLI key so the server can know who you are.
ποΈ Server
Sets the path to a repository on the Twigg server (https