EN - atxxxm/bull-wLib GitHub Wiki
Bull_wLib is a simple version control system using the third—party libarchive library.
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
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
Creates an empty .bullgnore
file in the current directory to specify files or templates that Bull should ignore.
Usage: bull gnore
Creates a new branch with the specified name. The branch is added to the list of repository branches.
Usage: bull new <branch name>
Displays a list of all branches in the repository.
Usage: bull branch
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
Changes the language of Bull messages. Supported languages: ru
(Russian) and en
(English).
Usage: bull lang <en|en>
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>
Restores files from the specified commit (by hash) to the working directory.
Usage: bull unpack <hash_commit>
Displays the commit history for the current branch. Outputs the hash and message of each commit.
Usage: bull log
Switches the current branch to the specified one.
Usage: bull set <branch name>
Deletes the specified branch.
Usage: bull remove -b <branch name>
Deletes a commit with the specified hash from the current branch.
Usage: bull remove -c <hash_commit>
Restores the working directory to the state of the last commit in the current branch.
Usage: bull reset
Outputs the contents of all files of the last commit
Usage: bull show -last
Outputs the contents of all files of the specified commit
Usage: bull show <hash_commit>
Displays a list of files in the last commit.
Usage: bull list -last
Displays a list of files in the specified commit
Usage: bull list <hash_commit>
Creates an archive of the last commit with the specified name
Usage: bull archive -last <name>
Creates an archive of the specified commit with the specified name
Usage: bull archive <hash_commit> <archive name>