Scroll to navigation

RAVC2(1) General Commands Manual RAVC2(1)

NAME

ravc2Radare2 Version Control Interface

SYNOPSIS

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

DESCRIPTION

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

Quiet mode
Show version information
Show usage help message
[var]
Display variable
JSON output

ACTIONS

[git | rvc]
Initialize a repository with the given version control system
[name]
If a name is provided, create a branch with that name otherwise list branches
[message [files...]]
Commit the files with the message
[branch]
Set the current branch to the given branch
Print a status message
Remove all uncommited changes
Print all commits

ENVIRONMENT

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

SEE ALSO

radare2(1)

AUTHORS

pancake <pancake@nopcode.org>

July 10, 2025