Git quickstart
Wabe supports Git commands on filesystem branches. A standard Git client can also clone, fetch and push through the experimental smart HTTP adapter.
Create the demo disk and a project API key in the quickstart.
Commit a file
Section titled “Commit a file”curl --fail-with-body --no-buffer \ "https://api.wabe.sh/v1/disks/demo/exec?branch=main" \ -H "Authorization: Bearer YOUR_PROJECT_API_KEY" \ --data-binary @- <<'WABE'printf 'Hello\n' > /git-quickstart.txtgit add /git-quickstart.txtgit commit -m 'Add a note'WABEbranch=main selects the branch for the file write and Git commands. The output includes the commit ID. Check the final exit record for code 0.
See the Git commands, smart HTTP reference and execution output format.