2 releases

Uses new Rust 2024

new 0.0.1 May 9, 2025
0.0.0 Apr 28, 2025

#9 in #git2

Download history 102/week @ 2025-04-27 71/week @ 2025-05-04

173 downloads per month

MIT/Apache

16KB
268 lines

gittwo

A wip wrapper around git2 with a git cli like api.

What works?

Level 1 items are the commands without any flags, level 2 items are the list of flags. Anything not in this list isn't supported by default.

Commands

  • Clone
    • --single-branch
    • --branch
    • --bare
    • --depth
    • --recusive
  • Pull
  • Push
  • Commit
  • Add (staging)
  • Restore
  • Checkout
  • Remote
  • Status
  • Branch

Credentials

  • HTTPS
  • SSH

License

This project is licensed under either of

at your option.

Contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in git2-rs by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~11MB
~254K SLoC