Mini Git
A reduced version of Git
|
#include "commit.hpp"
#include <filesystem>
#include <format>
#include "sha.hpp"
#include <zstr.hpp>
Functions | |
std::string | get_head () |
void | write_head (const std::string &commit_sha) |
int | commit (int argc, char *argv[]) |
int commit | ( | int | argc, |
char * | argv[] ) |
std::string get_head | ( | ) |
void write_head | ( | const std::string & | commit_sha | ) |