Skip to content
/ cmap Public

A micro version control system designed for tracking changes in files and managing project versions efficiently (WIP)

Notifications You must be signed in to change notification settings

xastrix/cmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmap

A micro version control system written in C++ and designed for tracking changes in files and managing project versions efficiently.


FeaturesUsageInstallingDependencies

Features

  • Initialization of a repository similar to git
  • Adding files to the list of tracked files
  • Committing to save the current state of your tracked files
  • Viewing the status of the repository (including modified, deleted, and untracked files)
  • Viewing logs (including hash, commit message, datetime, and committer information)

Usage

cmap h/help

First, you need to set the user settings

cmap config "username" "email" --user-config

Initialize the repository

cmap i/init

Add files to the tracked files with the command

cmap add "filename"

To remove an accidentally included file, use the command

cmap add "filename" --rm

To check the tracked, deleted, or modified files, use the command

cmap status

This command rolls back the specified commit identified by the provided hash

cmap u/undo "hash"

To create your first commit, type

cmap commit "message"

Show commit list (including hash, commit message, datetime, and committer information)

cmap log

Installing

Clone the repository

git clone --recursive https://github.com/xastrix/cmap.git

Generate VS project by premake5

cd cmap && premake5 vs20xx

Launch cmap.sln (Visual Studio Solution File) and compile project by pressing CTRL+Shift+B

Requirements

  • Visual Studio
  • Windows SDK
  • premake

Dependencies

jsoncpp

About

A micro version control system designed for tracking changes in files and managing project versions efficiently (WIP)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published