-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the MY-OWN-GIT wiki!
Welcome to the MY OWN GIT project! This project mimics some features of Git to help you understand how this marvelous technology works behind the scenes.
If you're intrigued by the inner workings of Git, this repo is for you. We hope you learn something new! β¨
The tool includes several commands such as init, add, commit, and clone.
Here is an in-depth guide on the internals of the .git folder: What is in that .git directory? π€―. It's recommended to go through this blog to understand the internal workings of the .git folder.
Folder structure till now.
.
βββ CMakeCache.txt
βββ cmake_install.cmake
βββ CMakeLists.txt
βββ Dockerfile
βββ git_clone_completion.sh
βββ LICENSE.md
βββ Makefile
βββ readme.md
βββ src
β βββ CPP
β β βββ cat_file.cpp
β β βββ commit_tree.cpp
β β βββ git_add.cpp
β β βββ git_init.cpp
β β βββ hash_object.cpp
β β βββ ls_tree.cpp
β β βββ main.cpp
β β βββ utils.cpp
β β βββ write_tree.cpp
β βββ Headers
β βββ cat_file.h
β βββ commit_tree.h
β βββ git_add.h
β βββ git_init.h
β βββ hash_object.h
β βββ ls_tree.h
β βββ write_tree.h
β βββ utils.h
β
βββ Welcome.txt
The following features have been successfully implemented in the MY OWN GIT project:
- ls-tree: List the contents of a tree object.
- cat-file: Provide content or type and size information for repository objects.
- init: Initialize a new repository.
- hash-object: Compute the object ID and optionally create a blob from a file.
- write-tree: Write the current index to the repository.
- commit-tree: Create a new commit object.
These features form the core functionalities of our git_2.0 tool. We appreciate any feedback or suggestions for improvement. Thank you for your contributions!
Thank you for visiting our Wiki! π