git 0.1.8

The library provides basic operations with Git repositories.
docs.rs failed to build git-0.1.8
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: git-0.3.0

Git Build Status

The library provides basic operations with Git repositories.

Documentation

Example

In Cargo.toml:

[dependencies]
git = "0.1"

In main.rs:

extern crate git;

fn main() {
    // cd foo
    let mut git = git::open(&Path::new("foo")).unwrap();

    // git add --all
    git.add_all();

    // git commit -m "Well done"
    git.commit("Well done");

    // git push
    git.push();
}

Acknowledgments

The library is based on libgit2 and the work of Alex Crichton.

Contributing

  1. Fork the project.
  2. Implement your idea.
  3. Create a pull request.