Basic Workflow
After pushing, search your code instantly with WarpGrep—no indexing required.
Repository Management
Initialize Repository
repoId uniquely identifies your project across the Morph platform.
Clone Repository
Staging and Committing
Stage Changes
. to stage all changes in the repository.
Commit Changes
Syncing Changes
Push Changes
Pull Changes
Status and History
Check Status
View History
depth to limit how many commits are returned.
Branch Management
Create Branch
List Branches
Get Current Branch
Checkout Branch
Advanced Operations
Resolve Reference
Searching Your Code
After pushing, use WarpGrep to search your code with natural language queries. No indexing or setup required.All Methods
| Method | Description |
|---|---|
init(options) | Initialize new repository |
clone(options) | Clone existing repository |
add(options) | Stage file for commit |
commit(options) | Commit staged changes with optional metadata |
push(options) | Push to remote |
pull(options) | Pull from remote |
status(options) | Get file status |
statusMatrix(options) | Get all file statuses |
log(options) | Get commit history |
checkout(options) | Checkout branch or commit |
branch(options) | Create new branch |
listBranches(options) | List all branches |
currentBranch(options) | Get current branch name |
resolveRef(options) | Get commit hash for ref |
getCommitMetadata(options) | Get metadata, chat history, and recording ID for a commit |