EN - atxxxm/bull-wLib GitHub Wiki

Bull_wLib is a simple version control system using the third—party libarchive library.

Teams

init

Initializes a new Bull repository in the current directory. Creates the .bull directory, configures the base branch, and initializes the configuration files.

Usage: bull init

add

Adds all non-ignored files in the current directory to the index for the next commit. Files specified in `.bullgnore' are excluded.

Usage: bull add

gnore

Creates an empty .bullgnore file in the current directory to specify files or templates that Bull should ignore.

Usage: bull gnore

new <branch name>

Creates a new branch with the specified name. The branch is added to the list of repository branches.

Usage: bull new <branch name>

branch

Displays a list of all branches in the repository.

Usage: bull branch

status

Shows the current branch, language settings, and changes in the working directory (added, modified, or deleted files). Compares the working directory with the last commit.

Usage: bull status

lang <language>

Changes the language of Bull messages. Supported languages: ru (Russian) and en (English).

Usage: bull lang <en|en>

pack <commit message>

Creates a new commit with the specified message. If the message ends with `.txt', the contents of the specified text file are used as the commit message.

Usage: bull pack <commit message>

unpack <hash_commit>

Restores files from the specified commit (by hash) to the working directory.

Usage: bull unpack <hash_commit>

log

Displays the commit history for the current branch. Outputs the hash and message of each commit.

Usage: bull log

set <branch name>

Switches the current branch to the specified one.

Usage: bull set <branch name>

remove -b <branch name>

Deletes the specified branch.

Usage: bull remove -b <branch name>

remove -c <hash_commit>

Deletes a commit with the specified hash from the current branch.

Usage: bull remove -c <hash_commit>

reset

Restores the working directory to the state of the last commit in the current branch.

Usage: bull reset

show -last

Outputs the contents of all files of the last commit

Usage: bull show -last

show <hash_commit>

Outputs the contents of all files of the specified commit

Usage: bull show <hash_commit>

list -last

Displays a list of files in the last commit.

Usage: bull list -last

list <hash_commit>

Displays a list of files in the specified commit

Usage: bull list <hash_commit>

archive -last <archive name>

Creates an archive of the last commit with the specified name

Usage: bull archive -last <name>

archive <hash_commit> <archive name>

Creates an archive of the specified commit with the specified name

Usage: bull archive <hash_commit> <archive name>

⚠️ **GitHub.com Fallback** ⚠️