Crates.io | git-z |
lib.rs | git-z |
version | |
source | src |
created_at | 2023-12-01 12:24:08.342873 |
updated_at | 2024-12-08 22:36:56.647561 |
description | A Git extension to go beyond. |
homepage | https://github.com/ejpcmac/git-z |
repository | https://github.com/ejpcmac/git-z |
max_upload_size | |
id | 1055015 |
Cargo.toml error: | TOML parse error at line 33, column 1 | 33 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
A Git extension to go beyond.
Currently available:
On the roadmap:
If you are a Nix user on Linux or macOS, you can add git-z
to your
user profile by running:
nix profile install github:ejpcmac/git-z
Alternatively, you can add git-z
to your development environment by setting
up a flake.nix
like this:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
git-z.url = "github:ejpcmac/git-z";
};
outputs = { flake-parts, ... }@inputs:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" ];
perSystem = { inputs', ... }:
let
pkgs = inputs'.nixpkgs.legacyPackages;
git-z = inputs'.git-z.packages.git-z;
in
{
devShells.default = pkgs.mkShell {
buildInputs = [
# Tools
git-z
# Other dependencies
];
};
};
};
}
If you are a Debian user—or of derivatives like Ubuntu—, you can install
git-z
by running:
curl -OL https://github.com/ejpcmac/git-z/releases/download/v0.2.2/git-z_0.2.2-1_amd64.deb
sudo apt update
sudo apt install ./git-z_0.2.2-1_amd64.deb
If you are a Windows user, you can download an MSI package on the the release page and install it. You may need to allow its execution by doing Right Click > Properties, then checking the Unblock box in the security section at the bottom of the page.
If you are a user of any other Linux distribution, macOS or Windows,
you can download a statically-linked executable on the release
page. Just rename it to
git-z
—or git-z.exe
on Windows—and put it somewhere in your PATH
.
If you are a Rust programmer, you can install git-z
by running:
cargo install git-z
Run:
git add <your modifications>
git z commit
You can customise the behaviour of git-z
:
To do this, initialise a configuration by running:
git z init
Then, edit the git-z.toml
at the root of your repository.
From inside a Nix devshell, you can run:
$ build-deb
You should then find a Debian package in
target/x86_64-unknown-linux-musl/debian/
.
With a Rust toolchain installed on your machine, you can:
Install WiX v3.
Run:
> cargo install cargo-wix
> cargo wix --package git-z --nocapture
You should find an installer in target/wix/
.
Before contributing to this project, please read the CONTRIBUTING.md.
Copyright © 2023-2024 Jean-Philippe Cugnet
This project is licensed under the GNU General Public License 3.0.