Skip to content

vijairaj/seed-git

 
 

Repository files navigation

seed-git

Analyzing the first ever commit of the git source code gives a fairly good idea of the inner workings of the git SCM. The data structures and their representations have remained mostly unchanged and are still relevant. This repository exists to easily get started with the analysis. You can clone this repo, compile and run the various executables to get a feel of how it all started.

Building with Makefile

Follow the standard build procedure:

make

Building with CMake

Follow the standard build procedure:

mkdir build; cd build
cmake ..
make

Debugging

One of the ways to analyze the source code is to step through the execution of the code line by line. Qt Creator makes this easy because it can read CMake projects directly, so building and debugging is just one step away. Qt Creator can be installed from the distribution package or downloaded directly.

Further reading

About

Snapshot of the first ever commit of the git source code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.1%
  • Makefile 3.8%
  • CMake 3.1%