ravc2(1)

ravc21

Radare2 version control interface

Usage

ravc2 [-qvhjH] [action] [args ...]

Overview

Provides a simple version control interface for Radare2 projects, functioning as both a Git frontend and a native versioning system for tracking project changes.

Options

-q

Quiet mode

-v

Show version information

-h

Show usage help message

-H [var]

Display variable

-j

JSON output

Actions

init [git | rvc]

Initialize a repository with the given version control system

branch [name]

If a name is provided, create a branch with that name otherwise list branches

commit [message [files...]]

Commit the files with the message

checkout [branch]

Set the current branch to the given branch

status

Print a status message

reset

Remove all uncommited changes

log

Print all commits

Environment

RAVC2_USER

Override cfg.user value to author commit

Examples

Initialize a new repository:

$ ravc2 init

Create a new file and add it:

$ echo "Hello World" > README.md
$ ravc2 add README.md

Check repository status:

$ ravc2 status

Create and switch to a new branch:

$ ravc2 branch feature-branch
$ ravc2 checkout feature-branch

List all branches:

$ ravc2 branch

Commit changes:

$ ravc2 commit "Add README file" README.md

View commit history:

$ ravc2 log

Authors

pancake <[email protected]>

From radare2 6.2.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.