Site icon Android Tutorial Online

An Educational Implementation of Git Using Kotlin

Git A Home-Made Recipe With Kotlin

About

This Project is My Attempt To Reimplement Git With Kotlin. Why? I See You Wandering… Why Not? I’ve Been Reading About Git For Quite Some Time And have Explained It To Many Of My Peers. And While I Was Learning Kotlin With JetBrains Academy, One Of The Projects Was About Version Control System, especially Git, But The Implementation Level Wasn’t That Interesting, After That I came Across CodeCrafters, They have modules for building some projects with theme Build Your Own, and one of them was Build Your Own Git, but it didn’t also catch my attention, and they didn’t have a kotlin version, so I decided to implement it myself, and make it compatible with git and I named it kit (kotlin implementation of git). my intention for this project was to learn more about git, and build a decent project with kotlin considering that it’s my favorite language. also I’m not implementing the whole git, I’m just implementing the core features of git, and I’m not implementing it in the best way, I’m just trying to implement it in a way that I can understand it, and hopefully others can understand it too. so it’s an educational project, also if you want to contribute, you’re welcome.

Features

git have two types of commands:

git model is based on four objects:

I’ll be implementing plumbing commands at first, then I’ll implement porcelain commands.

Next

Plumbing Commands

Porcelain Commands

Screenshots

Init a repo creating a file and checking status

Adding file to index and configuring user then commiting and log to see the commit

Create a branch and checkout to it

Convert repo to git repo

Help

GitHub

View Github

Exit mobile version