pogit
is a git wrapper that aims for prettier and more easily readable commit messages.
it also helps you working with multiples remotes at once.
-
cool emojis and prefix to show what's the commit about:
feature: 「✨」 feat(_): added a very cool feature !
clean: 「🗑️」 clean(_): cleaned project.
init: 「🎉」 init(_): hello world !
norm: 「✏️」 norm(_): normed project.
test: 「🚧」 test(_): testing things, might broke.
wip: 「🏗️」 wip(_): work in progress, not done yet.
fix: 「🔨」 fix(_): fixed some things.
doc: 「📝」 doc(_): added documentation.
-
push to multiple remotes easily !
-
an optional config file to change the formatting and tweak (documentation about this config file is coming soon)
upcomming features:
- some future options like a norm check,
- a 42norm checking that puts a warning flag when you commit not-normed code
- remote managing
pip install git+https://github.com/y-syo/pogit
nix profile install github:y-syo/pogit#default
flake.nix
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/release24.05";
pogit = {
url = "github:y-syo/pogit";
inputs.nixpkgs.follows = "nixpkgs" # to use your nixpkgs instance instead of the provided one
};
...
};
}
configuration.nix
{ pkgs, inputs, ...}:
{
environment.systemPackages = [
inputs.pogit.packages.${pkgs.system}.default
];
}
{ inputs, ... }:
{
imports = [
# importing the module to have access to options.
inputs.pogit.homeManagerModules.default
];
programs.pogit = {
enable = true;
#package = inputs.pogit.packages.${pkgs.system}.pogit; # default package can be changed here.
config = {
format = "TODO"; # to format the text
custom-commit-name = {
icon = "🐶";
default_msg = "a default message.";
};
};
};
}
pogit has a commit guideline that you can use for all your project 🎉
This project is published under the Do What The F*ck You Want Public License. So have fun doing whatever the f*ck you want ! :D