gittwo

Crates.iogittwo
lib.rsgittwo
version0.0.3
created_at2025-04-28 15:47:26.282042+00
updated_at2025-08-16 11:46:55.927756+00
descriptionA command-line like wrapper around git2.
homepage
repositoryhttps://github.com/psomani16k/gittwo
max_upload_size
id1652299
size94,027
parth (psomani16k)

documentation

https://docs.rs/gittwo/latest/gittwo/

README

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 or subcommands and, level 3 is flags for subcommands (wherever applicable). Anything not in this list isn't supported by default. Whatever is in the list but not checked will be added eventually (barring lack of support on the libgit2 side).

Commands

  • Clone
    • --single-branch
    • --branch
    • --bare
    • --depth
    • --recusive
  • Init
    • --bare
    • --initial-branch
    • --separate-git-dir
  • Remote
    • add
      • --track
    • remove
    • set-head
      • --delete
    • set-branch
  • Add
    • --update
    • --dry-run
  • Commit
    • --message
    • --allow-empty-message
  • Push
    • --set-upstream
    • --all
  • Checkout
  • Fetch
    • --unshallow
  • Stash
    • apply
    • push
  • Pull
    • --unshallow
    • --rebase
  • Restore
    • --staged
  • Status
  • Merge
  • Branch
  • Reset
  • Submodule

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 gittwo by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 33

cargo fmt