Today I needed to be able to do git commands from c++ as library calls.
I found libgit2 and boy it fits the bills.
It was incredibly easy to compile and link to - on windows, in msvc.
It was pleasantly surprising!
I'm trying to figure out how to do the things I need (like pull aka fetch then merge), but it's a nice library.
https://libgit2.org/
Conversation
Notices
-
Embed this notice
demofox (demofox@mastodon.gamedev.place)'s status on Thursday, 26-Dec-2024 22:14:42 JST demofox
- stigatle likes this.