aryanraskar/jit
Yes yes another version control, what else could the world possibly need
jit
Another oddly familiar sounding version control system to ruin everyones day
It works pretty much like the big boys - git and merc - but yeah not as many commands or new things. It also is completely local, and doesnt have a hub like, you know, git.
βπ€ Why I decided to make this
So like i decided i should get better at git. Ofc, the next logical step to do that would be to create git right? Yeah obviously duh, so i decided i should do that. Now i have a half baked version of git that i call jit because its supposed to be a play on the gif/jif thing and I am equally more confused about git as i am with jit ππ.
In all honesty though, this is supposed to be a fun project, and nothing serious, it might break, so use it at your own peril.
- ALSO I JUST REALIZED THIS BUT I AM MAKING THIS PUBLIC LITERALLY EXACTLY 20 YEARS AFTER LINUS' FIRST EVER COMMIT LMAOOOO
go check it out:
git/git@e83c516
Installation
From Source
git clone https://github.com/username/jit.git
cd jit
# Run directly with Python
python jit/main.py <command>or if you want to install it, like a normal person should
git clone https://github.com/username/jit.git
cd jit
# Run directly with Python
pip install -e . #this is for development
pip install . #this is for actual, but why even would one unless they want linus and me to have a dual (linus spare me i am out of my element here)π οΈ Available Commands
π§ Initialize a Repository
jit initπ Track Files
jit add <file_path> # Add a specific file
jit add . # Add all changed files in directoryβοΈ Commit Changes
jit commit -m "Your commit message here"π View Commit History
jit log # Show commit logs for current branch
jit log --all # Show commit logs from all branchesπ± Branch Management
jit branch <name> # Create a new branch
jit branches # List all branches
jit checkout <branch> # Switch to a branch
jit checkout -b <branch> # Create and switch to a new branchπ‘ Check Status
jit status # Show the working tree statusπ§ Restoring and Reverting
jit restore <commit_hash> # Restore working directory to a specific commit
jit rm <file_path> # Remove file and stage deletion
jit rm -f <file_path> # Force remove file even if not trackedπ§Ή Clean Workspace
jit clean # Show untracked files that would be removed
jit clean -f # Remove untracked files without promptπ Rebase (β¨Newβ¨)
jit rebase <target-branch> # Rebase current branch onto target branchπ§ Future Features
I dont think i will get to it, maybe i will, who knows (i do, and no i dont think so)
jit push
jit pull
jit fetch
jit merge
# whatever else yall can think ofπ€ Why Use Jit?
Because you apparently dont like being sane and want one more version control to make things positively worse
π€ Contribute or Report Issues
Feel free to fork it, PR it, or just shoot me a message if you think there's any hope of improving this mess. But in all honesty, letβs face it, itβs probably (im)perfect the way it is.