This is a simple game I'm writing to test the idea of using games to teach C++. https://learncodethehardway.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
simple-cpp-game-study/PPP3/extras/git_minimal.cpp

27 lines
442 B

#include <git2.h>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <fmt/core.h>
#include <regex>
#include <string>
#include <iterator>
#include <ctime>
#include "dbc.h"
#include <unistd.h>
#include <stdio.h>
#include <regex>
int main(int argc, char *argv[])
{
git_repository* repo = nullptr;
git_libgit2_init();
int err = git_repository_open(&repo, argv[1]);
git_libgit2_shutdown();
git_libgit2_shutdown();
}