A micro version control system written in C++ and designed for tracking changes in files and managing project versions efficiently.
Features • Usage • Installing • Dependencies
- 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)
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
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
- Visual Studio
- Windows SDK
- premake