Skip to content

marcoieni/gigi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gigi

logo

gigi stands for git gizmo.

Note

gigi is a CLI implementing some opinionated commands to simplify my day-to-day work with git and GitHub.

Warning

This software runs git and gh commands. Use it at your own risk.

Install locally

  1. Clone this repo
  2. Run cargo install --path .

OR run cargo install --git https://github.com/marcoieni/gigi

Commands

Run cargo run -- --help to see the help menu with all available commands.

Open PR

Open a PR with the current changes. The PR title and branch name are automatically set from the commit message.

If there are any staged changes, only those are included in the PR.

If you have copilot installed, gigi will use it to generate a commit message, that you can edit before creating the PR.

Squash

The squash subcommand squashes all the commits of the PR into one, rebasing the default branch and setting the PR title as the commit message.

The authors of the original commits are set as co-authors in the new commit message.

Alias

You can set an alias to recompile and run gigi from your local project.

With the following command you can gigi <command> in your projects, and it will run the latest version of gigi in that directory.

alias gigi='RUST_BACKTRACE=1 cargo run --manifest-path ~/path/to/gigi/Cargo.toml --'

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages