git2-rs
git-smart-checkout
git2-rs | git-smart-checkout | |
---|---|---|
8 | 1 | |
1,600 | 56 | |
0.7% | - | |
8.0 | 1.3 | |
10 days ago | about 1 year ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
git2-rs
-
Downloadig files or git repositories from the web
There are clone methods that do all that. The clone example shows how to use it with status callbacks. Remove all the callbacks, and it is just Repository::clone("url", "destination")
-
Gex: Git CLI inspired by Emac's Magit built in Rust
The correct way of going about this would be to use only the low-level "plumbing" commands of git and not the porcelain. Or you can get even better performance by using https://github.com/rust-lang/git2-rs, which basically reimplements git as a library.
-
[Media] My first rust app, git smart checkout, fuzzy search that branch, I kinda like this language ❤️🦀
You may want into look into this crate: https://github.com/rust-lang/git2-rs
- `Cargo install --git` -- received unexpected content-type
-
Hey Rustaceans! Got an easy question? Ask here (32/2021)!
I want to get the output of git log --follow --format=%aD | tail -1 by using git2-rs. I found git2-rs/examples/log.rs, but I still confused on how to use it.
-
Question about libgit2, working with index does not show on cli `git status`
I am trying to use libgit2 through the rust library git2. I open the default index for the repository, equivalent to git_repository_index. When verifying it's path, it does point to .git/index.
-
Looking for a version control crate
https://github.com/rust-lang/git2-rs uses libgit2-sys which I believe can install git into your finally binary statically.
-
rebuilderd 0.9.0: reproducible builds verification system used by Arch Linux
Yes! We have multiple rust projects in Arch Linux that we've successfully rebuilt, for example rebuilderd or rustc/cargo itself. We occasionally run into projects that aren't reproducible, this is usually due to issues in build.rs. One of the issues I fixed is this one: https://github.com/rust-lang/git2-rs/pull/619
git-smart-checkout
-
[Media] My first rust app, git smart checkout, fuzzy search that branch, I kinda like this language ❤️🦀
I used a cool crate called dialoguer, which made it trivial to implement because it already had a fuzzy search input. My code is not the cleanest, but you can check it here if you are curious about it
What are some alternatives?
libgit2 - A cross-platform, linkable library implementation of Git that you can use in your application.
onefetch - Command-line Git information tool
rust - Empowering everyone to build reliable and efficient software.
ctrlg - A command line context switcher, written in Rust :crab:
Nova - Implementation of "Ray Tracing in One Weekend": https://raytracing.github.io/books/RayTracingInOneWeekend.html
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
rebuilderd - Independent verification of binary packages - reproducible builds
broot - A new way to see and navigate directory trees : https://dystroy.org/broot
ismyarchverifiedyet - :construction: Experimental script to query rebuilderd for results :construction:
zk - A note-taking tool based on the famous Zettelkasten method
gitoxide - An idiomatic, lean, fast & safe pure Rust implementation of Git
cargo-select - Cargo subcommand to easily run targets/examples