# Git [![Build Status][travis-svg]][travis-url]
The library provides basic operations with Git repositories.
## [Documentation][docs]
## Example
In `Cargo.toml`:
```toml
[dependencies]
git = "0.1"
```
In `main.rs`:
```rust
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][1] and the [work][2] of Alex Crichton.
## Contributing
1. Fork the project.
2. Implement your idea.
3. Create a pull request.
[1]: https://libgit2.github.com/
[2]: https://github.com/alexcrichton/git2-rs
[travis-svg]: https://travis-ci.org/stainless-steel/git.svg?branch=master
[travis-url]: https://travis-ci.org/stainless-steel/git
[docs]: https://stainless-steel.github.io/git