Skip to content

samarixum/BetterGit-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BetterGit CLI

The core engine for BetterGit, built with .NET and LibGit2Sharp. This console application handles all the heavy lifting for repository management, versioning, and safe history traversal.

the core concept is to simplify version control by eliminating standard Git complexities i dont need instead using it as a non-destructive save/load/backup system. and adding some new features like publishing backups to maultiple remote repositories simultaneously. all whithout preventing the user from using git directly if they want to.

Prerequisites

  • .NET 10.0 SDK

Building

dotnet build

Usage

  • Initialize:
    BetterGit.exe init "A:/Path/To/Project" [--node]
  • Save Changes:
    BetterGit.exe save "Commit message" [--major|--minor]
  • Undo Last Save:
    BetterGit.exe undo
    Moves the current state to an archive branch and resets HEAD to the parent commit.
  • Redo:
    BetterGit.exe redo
    Restores the state from the most recent archive branch.
  • Get Tree Data (JSON):
    BetterGit.exe get-tree-data

Notice

This project was generated entirely with AI.

About

This project was generated entirely with AI.

Resources

Stars

Watchers

Forks

Contributors

Languages